Voytek, > # grep Allow /etc/clamd.conf > AllowSupplementaryGroups yes > > # grep clam /etc/group > clamav:x:105:clamav > amavis:x:106:clamav
> (15307-03) (!!)ask_av (ClamAV-clamd) FAILED - unexpected result: > /var/amavis/tmp/amavis-20071029T132434-15307/parts: lstat() failed. > ERROR\n Looks fine. I don't know why clamd can't read files in directory /var/amavis/tmp/amavis-20071029T132434-15307/parts/ . Just in case please check the protection of each directory in the path - all the directories from /, /var, ... to the .../parts. You can also try to become uid/gid clamav, and see if you are allowed to access from there amavisd temporary directories and files within. I think such problem has been reported before, I'm not sure it was on Centos. Could be just a coincidence, or some version of clamd is flawed (perhaps not honouring AllowSupplementaryGroups), or could be a bug in the OS - in its implementation of initgroups(3). Does clamd mumble anything about initgroups() not being supported or failed? The relevant code seems to be in clamd.c. It would be nice if someone who can reproduce this problem to come to the bottom of the issue. An easy way out would be to run both the clamd and amavisd under the same UID. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/