----- Original Message ----- 
From: "Joe Polk" <[EMAIL PROTECTED]>
To: "ClamAV users ML" <[email protected]>
Sent: Friday, December 09, 2005 8:57 PM
Subject: Re: [Clamav-users] clamav-milter & sendmail


>
> ><snip>
> >
> >so where in the file do i put
> >
> >INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clmilter.sock, F=,
> >T=S:4m;R:4m')dnl
> > define(`confINPUT_MAIL_FILTERS', `clamav')
> >
> >Mark
> >
> >__
> >
> You can put it up in the section with the other INPUT statements. Be
> sure convert your mc file.
>
> <<JAV>>
> _______________________________________________
<snip>

Using the above i get

socket-addr (local:/var/run/clamav/clamav-milter.sock) doesn't agree with
sendmail.cf

when i start clamav-milter

if i change sendmail.mc line to
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=,
T=S:4m;R:4m')dnl
rebuilt sednmail.mc

start clamav ok
start clamav-milter ok

it seems to run ok but i get this in maillog
Dec 10 20:01:58 proteus2a sendmail[29655]: jBAK1wmP029655: Milter (clamav):
local socket name /var/run/clamav/clamav-milter.sock unsafe
Dec 10 20:01:59 proteus2a sendmail[29655]: jBAK1wmP029655: Milter (clamav):
to error state

Dec 10 20:03:05 proteus2a sendmail[29282]: jBAK13vY029282: Milter (clamav):
write(Q) returned -1, expected 5: Broken pipe
Dec 10 20:03:05 proteus2a sendmail[29282]: jBAK13vY029282: Milter (clamav):
to error state

What have i missed?
It is adding the headers

X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on
proteus2a.obantec.net
X-Virus-Status: Clean

i have stopped it until i can resolve the errors

Mark

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to