I looked at:
http://www.scalix.com/wiki/index.php?ti ... Tos/ClamAV
but it was blank.
Having just installed ClamAV with Sendmail I thought I would share the setup procedure here, for the people who already have sendmail set up as the transport agent and who want to connect ClamAV into sendmail rather than into Scalix.
1) download the rpms from http://dag.wieers.com/
wget http://dag.wieers.com/rpm/packages/clam ... f.i386.rpm
wget http://dag.wieers.com/rpm/packages/clam ... f.i386.rpm
wget http://dag.wieers.com/rpm/packages/clam ... f.i386.rpm
wget http://dag.wieers.com/rpm/packages/clam ... f.i386.rpm
2)install the rpms:
rpm -ivh clam*
2) edit /etc/clamd.conf:
LocalSocket /var/run/clamav/clamav-milter.sock
3) run clamd
4) run freshclam
5) run clamav-milter:
/usr/sbin/clamav-milter -ol local:/var/run/clamav/clamav-milter.sock --postmaster=root@domain.com --quarantine=root@domain.com
6) edit sendmail configuration:
INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
7) restart sendmail
8) run omsendin if nessecary.