Ken Morley wanted us to know:

>I have a mail server that I've equipped with ClamAV 0.751, sendmail & RH
>Linux 7.  I would like to get sendmail to discard any messages/attachments
>that ClamAV determines are infected.

That's a function of the clamav-milter.  Here's how I start it on my
Gentoo boxen:

smtp1 root # cat /etc/conf.d/clamav-milter 
# Config file for /etc/init.d/clamav-milter

START_CLAMAVMILTER=yes
CLAMAVMILTER_OPTS="
        --config-file=/etc/clamav.conf
        --max-children=20
        --quiet
        -ol local:/var/lib/clamav/clamav-milter.socket
"
CLAMAVMILTER_LOG="/var/log/clamav/clamav-milter.log"

You of course need to adjust the paths to your requirements.
-- 
Regards...              Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.3-16mdkenterprise   load average: 1.38, 1.37, 1.42


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to