Re: [Clamav-users] attempting to use clamav from svn...
Steve Holdoway 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 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 Hi Steve, The milter in SVN is slightly changed and it won't take those command line options any more. At the moment the manpage hasn't been updated yet. But the example clamav-milter.conf is well commented. See http://lurker.clamav.net/message/20081205.152347.a7d7c9ee.en.html for more details. Cheers, -aCaB ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] attempting to use clamav from svn...
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
Re: [Clamav-users] attempting to use clamav from svn...
Steve Holdoway wrote: 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, I'm pretty sure that a dev said the new version of the milter (the SVN one) requires clamd to be running. The reason for this was that the having the old milter had a lot of duplicate code from clamd and was outdated. and should this be using a separate socket to that used for sendmail?? Um, if I understand you correctly, yes. clamav-milter wants to talk to clamd using a socket of some type. If clamd is running locally, then it'll be a named socket rather than a TCP socket. This socket would be different than the milter socket that sendmail uses to talk to the clamav-milter. Cheers, Steve signature.asc Description: OpenPGP digital signature ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] attempting to use clamav from svn...
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