> Hello All, > > I am getting warning from clamav .... > > Oct 7 15:59:03 mail amavis[14230]: (14230-03-21) (!!)ask_av > (ClamAV-clamd) FAILED - unexpected result: > /var/lib/amavis/tmp/amavis-20081007T155642-14230/parts: Access denied. > ERROR\n > Oct 7 15:59:03 mail amavis[14230]: (14230-03-21) (!!)WARN: all primary > virus scanners failed, considering backups > > But there is no permission problem because the clamav is running by > amavis user and also checked my clamd.conf file every thing is fine. > > Is there any idea what could be the problem.. > It is permissions, somewhere.
Check permissions on /var/lib/amavis/tmp/amavis-20081007T155642-14230/parts Check user and or group in clamd.conf (hint: 'clamav' doesn't run.. Clamd does. Who started clamd? What permissions/user is listed in clamd.conf? Amavis doesn't call 'clamscan'. It calls the equivlant of clamdscan, so: Cd to /var/lib/amavis/tmp Make sure files are there, run: clamdscan on them. If clamd can't get at them, fix clamd.conf, groups file, permissions on ../tmp. Whatever is wrong. -- Michael Scheidell, CTO >|SECNAP Network Security Winner 2008 Network Products Guide Hot Companies FreeBSD SpamAssassin Ports maintainer _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com _________________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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/
