Hello list, Excuse the beginner question please.
Clamav is correctly built (without --enable-milter) and running. It doesn't listen on any TCP port but does open a unix socket here: $ ls /pfx/var/clamav/clamd.sock 1 pfixuser pfixuser 0 2009-11-01 16:00 /pfx/var/clamav/clamd.sock I've tested with clamscan(1) and the 'test' directory virus examples. Premise ------- Postfix master.cf (truncated): smtp inet n - n - - smtpd -o content_filter=spamass spamass unix - n n - - pipe flags=R user=pfixuser argv=/pfx/bin/spamc -f -u ${user} -e /pfx/sbin/sendmail -oi -f ${sender} ${recipient} Questions --------- How can I configure Postfix to use Clamav's unix socket interface? Is it practical to use the 'content_filter' option of Postfix's smtp(8) or is there a better way? It seems that its not possible to attach more than one 'content_filter' to smtp(8) and I'm already using that for Spamassassin. Would building the clamav-milter be helpful for this problem? Should I not use the 'local mode' and instead configure 'TCPSocket' and 'TCPAddr' (going against the recommendation 'Due to security reasons we recommend the local mode')? I'd rather not start with Amavis, Amavisd, Amavis(new), or any other software if it's possible to use Clamav directly with my MTA+Spamassasin. Thanks, Brian _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml