Hi All,

I have Amavis and clamd both running as clamav user. I do not have any mail filters running (like sendmail milter or clamav-milter etc.).
In clamav.conf I have enabled the clamd's drop privileges to drop to clamav user after being started as root. When a mail comes in, amavis tries to start clamd but it gives the following error


Feb 20 19:46:13 MyMachine amavis[18775]: Virus scanner failure: ScannerDaemon - UNKNOWN STATUS (error code: /var/amavis/amavis-07047767/parts: Can't access the file ERROR)

The permissions are:

under /var,
drwx------    3 clamav   root         4096 Feb 20 19:46 amavis

under /var/amavis,
drwx------    3 clamav   root         4096 Feb 20 19:46 .
drwxr-xr-x   22 root     root         4096 Feb 20 19:44 ..
drwx------    3 clamav   root         4096 Feb 20 19:27 amavis-16072539
-rw-------    1 root     clamav         91 Feb 20 19:20 amavis-clamd-error.dat

I am not sure what the problem could be? It runs fine if I comment out the "User clamav" option in /etc/clamav.conf file. (runs fine as root)
Any ideas? Thanks in advance.


Regards,
Prakash



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to