Michael Scheidell wrote:
>> Hi List,
>>
>> I am running:
>>
>> amavisd -V
>> amavisd-new-2.6.2 (20081215)
>>
>> ClamD recently crashed and I found entries in the mailq like the following:
>>
> 
> Two things to check (and all mostly permissions)
> 
> As the user running amavisd, use 'clamscan' your $AMAVIS home/tmp
> 
> Then, use clamdscan on same (clamdscan sb same group, or group read for same
> directory)

Both amavisd and clamd run as user:group amavis:amavis and all of
/var/amavis permissions are also set to amavis:amavis.

Here's how I tested to see if permissions are ok:

ls -l /home
drwx------  3 amavis  amavis  4096 2009-02-06 18:42 amavis

ls -l /home/amavis
-rw-rw-r-- 1 amavis amavis  414720 2008-07-01 14:09 DESPACHO-4542008.exe
-rw-r--r-- 1 amavis amavis 3157877 2008-10-04 13:48 postfix-2.5.5.tar.gz
-rw-r--r-- 1 amavis amavis      69 2008-11-02 12:08 test.com
-rw-r--r-- 1 amavis amavis   81538 2008-11-01 22:23 test.eml
-rw-r--r-- 1 amavis amavis    3393 2009-01-24 20:40 test.msg
-rw-r--r-- 1 amavis amavis      69 2009-02-06 18:41 test.txt

su amavis
bash-3.2$ clamscan --stdout --no-summary -r /home/amavis/*
/home/amavis/DESPACHO-4542008.exe: Trojan.Downloader-46121 FOUND
/home/amavis/postfix-2.5.5.tar.gz: OK
/home/amavis/test.com: Eicar-Test-Signature FOUND
/home/amavis/test.eml: Email.Trojan.GZC FOUND
/home/amavis/test.msg: OK
/home/amavis/test.txt: OK

Seems permissions are ok?  Any other ideas?

Thanks!

Bill

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to