mhacleth,
I currently use clam-av for virus protection. On a Fedora system, and this is from memory so it may be slightly off, I did the following:
First, I installed clam-av
I then configured clamav properly and updated it using freshclam. Basically followed the installation instructions ;-)
I also made it start on boot up.
Code: Select all
chkconfig --level 345 clamav-milter on
I prefer to do system changes like this in single user mode so when I bring the system back to multi user mode all changes take effect immediately.
Changes to
/etc/mail/sendmail.mc (based on the MailWasher HOWTO)
Before ClamAV:
Code: Select all
INPUT_MAIL_FILTER(`mailwasher_server', `S=unix:/var/run/mwserver/mpd.sock, F=T, T=S:60s;R:60s')dnl
define(`confINPUT_MAIL_FILTERS', `mailwasher_server')dnl
After ClamAV:
Code: Select all
INPUT_MAIL_FILTER(`clamav',`S=unix:/var/run/clamav/clmilter.sock, F=T, T=S:4m;R:4m')dnl
INPUT_MAIL_FILTER(`mailwasher_server', `S=unix:/var/run/mwserver/mpd.sock, F=T, T=S:60s;R:60s')dnl
define(`confINPUT_MAIL_FILTERS', `mailwasher_server, clamav')dnl
compile changes:
Code: Select all
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
then configure Scalix sendmail:
edit
/etc/sysconfig/sendmail set the queue runner to a reasonably low value at least for debugging
Afterwards, I go back to multi user mode. If you didn't use single user mode, you'll need to restart all applicable systems, such as MailWasher, ClamAV, Sendmail and Scalix. It may be easier to just restart the machine ;-)
Hope that helps!