<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Maybe I see the problem.<br>
<br>
Should the "incoming" folder itself be modded 640 instead of 600?<br>
<br>
I'll change it since it shouldn't matter. <br>
<br>
steve<br>
<br>
On 11/18/2011 1:43 PM, Steve Campbell wrote:
<blockquote cite="mid:4EC6A765.4040903@cnpapers.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I don't think anything that matters isn't 640 mod and
clamav.clamav owned. The individual files created in the incoming
directory are owned by clamav as well. An example:<br>
<br>
incoming]# ls -al<br>
total 2912<br>
drwx------ 8 clamav clamav 4096 Nov 18 13:42 .<br>
drwxr-xr-x 4 root root 4096 May 18 2004 ..<br>
drwxr-x--- 2 clamav clamav 4096 Sep 9 07:02 26632<br>
drwxr-x--- 4 clamav clamav 4096 Nov 18 13:41 5625<br>
drwxr-x--- 4 clamav clamav 4096 Nov 18 13:41 5632<br>
drwxr-x--- 7 clamav clamav 4096 Nov 18 13:41 5654<br>
drwxr-x--- 2 root root 4096 Nov 18 11:14 Locks<br>
-rw------- 1 root root 17408 Nov 18 13:41
Processing.db<br>
-rw------- 1 root root 2722816 Nov 18 13:42
SpamAssassin.cache.db<br>
drwx------ 2 root root 200704 Nov 18 13:41
SpamAssassin-Temp<br>
<br>
Seems to me to be as it should be or those "Number" folders
couldn't be created.<br>
<br>
steve<br>
<br>
<br>
On 11/18/2011 1:15 PM, Martin Hepworth wrote:
<blockquote
cite="mid:CAGDKorK-k7akvqWzY17+65NSA-NruscHhsf26=jSeSLVKs1fKw@mail.gmail.com"
type="cite">Steve<br>
Double check nothing has altered any of the permissions further
up the tree and the clamd user can access the files<br>
<br>
Martin<br>
<br>
On Friday, 18 November 2011, Steve Campbell <<a
moz-do-not-send="true" href="mailto:campbell@cnpapers.com">campbell@cnpapers.com</a>>
wrote:<br>
> I'm pretty certain I looked through there. The settings are
spread out all across the config file, so I might have missed
one (or four). I just don't understand why I'm seeing this now
(just one email) without having changed anything.<br>
><br>
> Thanks for all the help from everyone.<br>
><br>
> steve<br>
><br>
> On 11/18/2011 11:07 AM, Martin Hepworth wrote:<br>
><br>
> yes you need to look carefully at the mailscanner.conf
settings for permssions etc. Theres good documentation in the
file about running clamdd and the things you need to setup<br>
> --<br>
> Martin Hepworth<br>
> Oxford, UK<br>
><br>
><br>
> On 18 November 2011 14:53, Milenko Letic <<a
moz-do-not-send="true" href="mailto:mikoletic@gmail.com">mikoletic@gmail.com</a>>
wrote:<br>
>><br>
>> this is mod in my MailScanner.conf :<br>
>> Incoming Work Permissions = 0644<br>
>> maybe , maybe not help, but wish you luck <br>
>> On Fri, Nov 18, 2011 at 3:43 PM, Steve Campbell <<a
moz-do-not-send="true" href="mailto:campbell@cnpapers.com">campbell@cnpapers.com</a>>
wrote:<br>
>>><br>
>>> I'm getting the following error in my logs:<br>
>>><br>
>>> Clamd::ERROR:: lstat() failed: Permission denied.
ERRORClamd::ERROR:: lstat() failed: Permission denied......<br>
>>><br>
>>> Looking back, I found a thread suggesting I should
switch to the internal tnef expander, which I am trying now, and
to ensure the "incoming" directory is accessible by the clam
user (clamav). I've followed the suggestions in the
MailScanner.conf file for the situation I am running under. The
temp folders under the incoming directory, along with the
incoming folder itself, where the winmail.dat is expanded IS
owned by clamav.<br>
>>><br>
>>> So I'm wondering if the 0640 mod on the folders is
the proper mod. Should there be any sticky bits or anything set?<br>
>>><br>
>>> Just curious, since this seems to be the first time
I've run into this and I've been using MS for years.<br>
>>><br>
>>> steve campbell<br>
>>><br>
>>> --<br>
>>> MailScanner mailing list<br>
>>> <a moz-do-not-send="true"
href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
>>> <a moz-do-not-send="true"
href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
>>><br>
>>> Before posting, read <a moz-do-not-send="true"
href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>
>>><br>
>>> Support MailScanner development - buy the book off
the website!<br>
>><br>
>> --<br>
>> MailScanner mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
>> <a moz-do-not-send="true"
href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
>><br>
>> Before posting, read <a moz-do-not-send="true"
href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>
>><br>
>> Support MailScanner development - buy the book off the
website!<br>
>><br>
><br>
><br>
><br>
><br>
<br>
-- <br>
-- <br>
Martin Hepworth<br>
Oxford, UK<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
</body>
</html>