[WBEL-users] sendmail milter struggles
Craig White
craigwhite at azapple.com
Sun Jan 23 18:19:45 CST 2005
On Mon, 2005-01-24 at 00:07 +0100, Jan-Albert van Ree wrote:
> On Sunday 23 January 2005 23:27, Craig White wrote:
>
> > > problem still shows in /var/log/maillog
> > > Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> > > write(O) returned -1, expected 12: Broken pipe
> > > Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> > > to error state
> > > Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> > > init failed to open
> > > Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> > > to error state
> > >
> > > so I will switch back to tcp sockets to see if it works.
> >
> > ----
> > same problem
>
> Had the same thing... check the path listed in /etc/mail/sendmail.cf for the
> clamav socket. Also check the permissions of the socket file.
>
> >From my sendmail.cf
> Xclamav-milter, S=local:/var/run/clamav/clamav-milter.sock,
> F=,T=S:4m;R:4m;E:10m
>
> >From clamd.conf
> PidFile /var/run/clamav/clamd.pid
>
> In /var/run/clam[javanree at www clamav]$ ll
> total 8
> -rw-rw---- 1 clamav clamav 4 Jan 22 16:46 clamav-milter.pid
> srwxr-xr-x 1 clamav clamav 0 Jan 22 16:46 clamav-milter.sock
> -rw-rw---- 1 clamav clamav 3 Jan 22 16:46 clamd.pid
>
> My /etc/sysconfig/clamav-milter
>
> CLAMAV_FLAGS=" --quiet \
> --dont-wait \
> --force-scan \
> --dont-log-clean \
> --server=localhost \
> --pidfile=/var/run/clamav/clamav-milter.pid \
> local:/var/run/clamav/clamav-milter.sock \
> "
----
one last question then...in your /etc/clamd.conf are you also pointing
it to /var/run/clamav/clamav-milter.sock ? or are you using TCP
localhost:3310 ?
seems as though, when I 'service clamav-milter stop' it kills the .sock
and clamd is effectively killed as well and must be restarted before I
can start clamav-milter again. This is really clumsy
Craig
More information about the Whitebox-users
mailing list