ClamAV-milter + Sendmail on RHEL4 - setup details

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

William
Posts: 314
Joined: Fri Jun 02, 2006 8:28 am
Location: British Isles

ClamAV-milter + Sendmail on RHEL4 - setup details

Postby William » Thu Jun 14, 2007 5:55 am

Hello,

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.
PC OS: XPSP3.
Server OS: Redhat EL 4, English
Outlook: 11.8313.8202 (Office Standard Edition 2003) SP3
Deployed Connectors: 11.0.3.29
Server: 11.0.3.31, English
Upgrd Path: 10.0.0.175->11.0.1.22->11.0.3.31
Browser: IE 6.0 / FF 2.0.0.18

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Jun 14, 2007 8:09 am

Hi William!

Just in case you get Service Router error on sending mail, this is how you would solve it:
viewtopic.php?t=6673

Hope this helps.

Thanks,
Subir


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests

cron