dward wrote:Thanks, are there any posts which show how to configure the clamav milter & would this effect in any way the spamassassin milter ?
dward, This might be too late to be helpful, but I recently configured the clamav milter and it's working flawlessly. These insturctions work on Fedora Core 4 with Scalix 10. YMMV if you are using different distributions.
1. Instructions for getting Fedora packages via yum (
http://www.clamav.net/binary.html#pagestart)
o How to configure yum to use the new repository (
http://www.clamav.net/binary.html#pagestart)
o install the following packages, clamav, clamav-db, clamav-server, clamav-milter
2. Configure clamd, freshclam, and the milter to run on startup
o chckconfig -add freshclam;chkconfig --level 345 freshclam on; service freshclam start
o chkconfig -add clamd;chkconfig --level 345 clamd on; service clamd start
o chkconfig -add clamav-milter;chkconfig --level 345 clamav-milter on (don't start it yet)
3a. Add the following lines to sendmail.cf (see 3b if you'd rather configure sendmail.mc)
o O InputMailFilters=clmilter (or O InputMailFilters=clmilter, Spamassassin if SpamAssassin is there)
o Add "Xclmilter, S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m" to the MAIL FILTER DEFINITIONS section
3b. Alternately, if you'd rather configure sendmail.mc
o "INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl
o define(`confINPUT_MAIL_FILTERS', `clmilter')"
o rebuild sendmail.cf by running 'm4 sendmail.mc > sendmail.cf'
4. Restart sendmail: service sendmail restart
5. Start clam-av milter: service clamav-milter start
Note: to get clamav to let virus messages go through to the destination (but with "[VIRUS]" prepended to the subject line, edit /etc/sysconfig/clamav-milter and add a "-A"