[WBEL-users] sendmail milter struggles
Jan-Albert van Ree
javanree at vanree.net
Sun Jan 23 17:07:05 CST 2005
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 \
"
Hope this helps... it's most likely a path mixup... doublecheck those
--
Jan-Albert van Ree | http://www.vanree.net/brickpiles/
VanRee IT Solutions | http://www.vanree.net
More information about the Whitebox-users
mailing list