-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Holdoway wrote:
> Last night, clamav fell over. This is just about the first time it's > happened. The problem is, it took out the mail server completely. > > I'm integrating into sendmail using the following line in sendmail.mc > > INPUT_MAIL_FILTER(`clamav',`S=unix:/var/run/clamav/clmilter.sock, F=T, > T=S:4m;R:4m')dnl > > and I get pairs of lines like > > Aug 11 02:47:30 server sm-mta[29787]: k7AElU70029787: Milter (clamav): local > socket name /var/run/clamav/clmilter.sock unsafe > Aug 11 02:47:30 server sm-mta[29787]: k7AElU70029787: Milter (clamav): to > error state > Aug 11 02:47:30 server sm-mta[29787]: k7AElU70029787: Milter: initialization > failed, temp failing commands > > in the sendmail logs, and no mail is delivered. > > Is there any way I can set my mail server up ( debian, sendmail 8.13.7 ) such > that it keeps on delivering unchecked mail in these circumstances??? - From the clamav-milter/INSTALL doc: "If you see an unsafe socket error from sendmail, it means that the permissions of the /var/run/clamav directory are too open. Check you have correctly run chown and chmod, it may also mean that clamav-milter hasn't started, run ps and check your logs." and also: "You may also think about the F= entry in sendmail.mc, since it tells sendmail what to do with emails if clamav-milter is not running. Setting F=T will tell the remote end to resend later (temporary failure), setting F=R will reject the email (permanent failure) and setting F= will pass the email through as though clamav-milter were not installed, in this case you should warn your users that emails are not being scanned. We recommend setting F=T." I no instances should sendmail have stopped, so you may have other problems. - -- René Berber -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE27nOL3NNweKTRgwRAiMWAKD6XchRre0lG9/4LKQYMWkeNMiSzgCfSre9 3vS1TzT5/Q9QB1deE2BbxUY= =u9fG -----END PGP SIGNATURE----- _______________________________________________ http://lurker.clamav.net/list/clamav-users.html