ClamAV X-Headers

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

dward
Posts: 14
Joined: Sun Mar 05, 2006 12:08 pm

ClamAV X-Headers

Postby dward » Thu Mar 09, 2006 9:09 pm

Is it possible to get clamav to add anything in the header to indicate that the email has been scanned successfully ?

Using Centos 4.2, Scalix 10, SpamAssassin 3.0.6,


Thanks,

Donal

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

Postby ScalixSupport » Fri Mar 10, 2006 1:08 pm

It's not possible if you are configuring this to scan on the service router. If you use a clamav milter through sendmail it will do this automatically.

For mail to be delivered to a Scalix mailbox, it must have gone through the Service Router and, consequently, been scanned by ClamAV ( if you have the virus scanning configured ). This includes any outbound mail submitted via the SMTP Relay so the header, to a certain extent, is redundant in this case.

Cheers

Dave

dward
Posts: 14
Joined: Sun Mar 05, 2006 12:08 pm

Postby dward » Tue Mar 14, 2006 8:53 am

Thanks, are there any posts which show how to configure the clamav milter & would this effect in any way the spamassassin milter ?

dschol
Posts: 16
Joined: Mon Jan 23, 2006 5:05 pm

Postby dschol » Wed May 31, 2006 4:27 pm

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"


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests

cron