[WBEL-users] sendmail milter struggles

Craig White craigwhite at azapple.com
Sun Jan 23 15:25:39 CST 2005


On Sun, 2005-01-23 at 15:56 -0500, Luke Scharf wrote:
> On Sun, 2005-01-23 at 15:11, Craig White wrote:
> > using clamd from dag <clamd-0.80-2.1.el3.rf>
> > 
> > doesn't seem to matter if I set clamd to use TCP localhost:3310 or
> > socket /var/run/clamav/clamav-milter.sock
> > 
> > and sendmail.mc
> > dnl INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-
> > milter.sock, F=, T=S:4m;R:4m')dnl
> 
> On RHEL3, I use:
>         dnl ## milter clamav
>         INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m; R:4m')dnl
>         define(`confINPUT_MAIL_FILTERS', `clmilter')
> 
> I did have to play around with the location of the socket-file
> ("S=local:/var/run/clamav/clamav-milter.sock").  I don't remember if I
> modified sendmail or ClamAV in order to make them match, but it did take
> me a bit to figure out that this was the key.
----
this may be my problem but both are set properly - at least as far as I
can tell...

# grep "clamav-milter.sock" /etc/clamd.conf
LocalSocket /var/run/clamav/clamav-milter.sock

# grep "clamav-milter.sock" /etc/mail/sendmail.mc
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock,
F=, T=S:4m;R:4m')dnl

Craig



More information about the Whitebox-users mailing list