Thanks for the suggestions. I've written a /usr/local/etc/clamav-milter.conf, which seems to be parsed ok, and am now starting clamav-milter with no parameters. I get the error
ERROR: Failed to initiate streaming/fdpassing and the sender is being sent a tempfail. Where should I be looking to fix this? Do I need to be running clamd as well, and should this be using a separate socket to that used for sendmail?? Cheers, Steve On Tue, 30 Dec 2008 14:33:06 +1300 Steve Holdoway <st...@greengecko.co.nz> wrote: > 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 -- Steve Holdoway <st...@greengecko.co.nz> _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml