> From: Ed Stover <[EMAIL PROTECTED]>
> Subject: Re: [Clamav-users] Having trouble making
> getting the milter
>       to work
> To: ClamAV users ML <[email protected]>
> 
> lol, I forgot to type install when replying. sorry.
> 
> 
> bash-2.05b# egrep -i clmilter /etc/mail/sendmail.cf
> O InputMailFilters=clmilter
> Xclmilter, S=local:/var/run/clamav/clmilter.sock,
> F=,T=S:4m;R:4m
> bash-2.05b# ls /var/run/clamav/
> clamd           clamd.pid       clmilter.sock  
> freshclam.pid

May I suggest that you tell sendmail to temp-fail if
it can't contact clamav-milter.  You should then be
able to get hints from /var/log/maillog why things
aren't working.  To do that you need to change from: 

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')

to:

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=T,T=S:4m;R:4m')

What you had before (with the "F=,") the sendmail
documentation says: "If neither F=R nor F=T is
specified, the message is   passed through sendmail in
case of filter errors as if the failing filters were
not present."

Rebuild your sendmai.cf and resetart sendmail. And
start watching /var/log/maillog for hints.

-- 
N. 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to