Michael St. Laurent <mailto:[EMAIL PROTECTED]> wrote:
> Yep, I have sendmail-cf installed and the sendmail.cf file *seems* to
> be correct.  I have the following in the /etc/mail/sendmail.cf file:
> 
> # Input mail filters
> O InputMailFilters=clamav-milter
> 
> and
> 
> Xclamav-milter,
> S=local:/var/run/clamav/clamav-milter.sock,F=,T=S:4m;R:4m;E:10m
> 
> That's what should be in there, yes?
> 
> Any other things I should check?

OK, I found the source of the problem (though not a solution for it) and so
I'm passing the knowledge on to the list for safe keeping.  ;-)

The one piece of information that I failed to mention and that would
probably have helped with diagnosis was the fact that I am using a proxy to
receive SMTP mail before it is passed on to sendmail.  Once the proxy is
satisfied that the mail is legit it invokes sendmail and feeds the message
to it on STDIN using a command such as:
 
/usr/sbin/sendmail -L sm-mta -Am [EMAIL PROTECTED]
 
Because Sendmail is not getting the message through SMTP, the milters are
not being used.  I have confirmed that this is true from several sources.
Sendmail only runs milters against emails that are received through SMTP on
port 25.  Thus, even though everything seems to be configured correctly, it
*does* *not* *work*.

-- 
Michael St. Laurent
Hartwell Corporation


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to