usermod -G smtpd clamav chmod g+x /home/smtpd /home/smtpd/tmp
That should be:
chmod g+r /home/smtpd/tmp
you should't /need/ to change the parent directory. clamd only needs group _read_ access to the folder. For testing purposes, copy a file into that folder (preferrably with an infected attachment) and set the ownership to smtpd and permissions to 0640, then try and use clamdscan manually.
2005-02-24 20:20:47.044802500 Permissions on spool_dir /home/smtpd/tmp/ are not 0700 at lib/Qpsmtpd.pm line 274, <ST
DIN> line 16.
That's a warning from the new spool_dir() code, not an error. Are you seeing an error later on when clamdscan itself is run?
John
