Hi Listers,

I'm having reliability problems with 0.94.2, and, as I run on a fairly 
memory-limited server, suspect that this is the core of the problem. Following 
on from anothe suggestion, I downloaded and built up the current svn snapshot 
to see if there was any improvement.

I use clamav with sendmail via clamav-milter, configured

./configure --enable-milter --disable-clamuko

sendmail.mc contains ( I may disable the F=T bit... )
INPUT_MAIL_FILTER(`clamav',`S=unix:/var/run/clamav/clmilter.sock, F=T, 
T=S:4m;R:4m')dnl

and this is the error I get when clamav-milter falls over:
Dec 30 14:24:42 server sendmail[29856]: mBU1ObVo029856: Milter (clamav): 
write(D) returned -1, expected 6: Broken pipe
Dec 30 14:24:42 server sendmail[29856]: mBU1ObVo029856: Milter (clamav): to 
error state
Dec 30 14:24:42 server sendmail[29856]: mBU1ObVo029856: Milter: 
helo=200-100-48-20.dial-up.telesp.net.br, reject=451 4.3.2 Please try again 
later

followed by 

Dec 30 14:24:42 server sendmail[29865]: mBU1Ogwp029865: Milter (clamav): error 
connecting to filter: Connection refused by /var/run/clamav/clmilter.sock
Dec 30 14:24:42 server sendmail[29865]: mBU1Ogwp029865: Milter (clamav): to 
error state
Dec 30 14:24:42 server sendmail[29865]: mBU1Ogwp029865: Milter: initialization 
failed, temp failing commands

for each following connection attempt.

I run debian linux, and start clamav-milter as follows:
/usr/local/sbin/clamav-milter --local --sendmail-cf=/etc/mail/sendmail.cf 
--outgoing --sign --timeout 0 --postmaster=st...@greengecko.co.nz 
--quarantine=st...@greengecko.co.nz --max-children 15 
unix:/var/run/clamav/clmilter.sock

when I try to start in this manner, it errors out: firstly on the --local flag, 
then if I remove that, the --sendmail-cf=/etc/mail/sendmail.cf flag.

I can't find any docs describing the changes needed to get the svn version to 
start. Can anyone point them out to me... or suggest any other options to 
improve reliability.

0.94.1 was fine!

Cheers,

Steve
-- 
Steve Holdoway <st...@greengecko.co.nz>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to