beta 4.59.3 and clamd

Zivago Lee z at ziff.net
Mon Apr 30 18:05:45 IST 2007


> You need to make sure the clamav user can read the files/dirs..
>
> The top level incoming dir can't be read by 'group' clamav.

Yep, that fixed it.  chmod 770 on that directory...

Thanks!

>
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
>
>> I just tried upgrading to 4.59.3 and I keep getting these errors:
>>
>> Apr 30 00:24:07 www MailScanner[16967]: Virus and Content Scanning:
>> Starting
>> Apr 30 00:24:08 www
>> MailScanner[16967]: /var/spool/MailScanner/incoming/16967/.: lstat()
>> failed. ERROR
>>
>> Any ideas on what that means?  The permissions for these dirs are as
>> follows:
>>
>> drwx------   9 postfix clamav   4096 Apr 30 00:25 incoming
>>
>> in the incoming dir:
>>
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:21 16563
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:20 16576
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:21 16588
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:23 16949
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:23 16957
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:25 16967
>> drwxr-x---  2 postfix clamav     4096 Apr 30 00:23 16979
>>
>> Did I set the permissions incorrectly in the run as user section?

-- 
Zivago Lee
z at ziff.net


More information about the MailScanner mailing list