On Thursday 16 Sep 2004 20:47, Ken Morley wrote:
> 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.
<snip> 
> 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?

Do you have LogSyslog set in clamav.conf? If not, set it.
Then look in /var/log/maillog for clues.

> Thanks!
> 
> Ken Morley

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk


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