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.

I read the ClamAV documentation pdf and installed ClamAV, clamd, freshclam &
clamav-milter as instructed therein.  

As mentioned on page 24, I modified /etc/mailsendmail.mc:
INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clmilter.sock, F=,
T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')dnl

And I recompiled /etc/sendmail.cf:
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

I started clamd, clamav-milter & then restarted sendmail.

Clamscan will detect infected files, but sendmail either doesn't detect
infected emails or is not taking any action.  Is there something left out of
the documentation?

Thanks!

Ken Morley



-------------------------------------------------------
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