On 5/2/05, Nigel Horne <[EMAIL PROTECTED]> wrote: > On Monday 02 May 2005 23:08, Pete 'Wolfy' Hanson wrote: > > slammed at postmaster each time it crashes. This was in the logs from > > the latest crash: > > > > May 2 14:22:24 smtp clamav-milter[153]: ClamAv: setsockopt() failed > > (Invalid argument) > > > If that message appears, clamav-milter will fail to start, so it's not > surprising nothing was logged... > > Review if you need the "-B" flag, and if not then don't use it. If > you do use the -B flag and this message appears, then check the NIC > you are telling it to use is correct.
I am not explicity using the -B flag, nor do I believe that I need it. The error is occurring in clamav-milter (I should have been more explicit) using this in sendmail.mc INPUT_MAIL_FILTER(`clmilter', `S=local:/var/clamav/clamav-milter.sock, F=A, T=E:25m; R:90s; S:45s; C:30m') The milter runs for some period of time - the most recent instance was about 18 hours - and then it stops responding soon after an update to the database. Here's the most recent logging: May 3 12:17:00 smtp freshclam[20408]: Daemon started. May 3 12:17:00 smtp freshclam[20408]: ClamAV update process started at Tue May 3 12:17:00 2005 May 3 12:17:00 smtp freshclam[20408]: main.cvd is up to date (version: 31, sigs: 33079, f-level: 4, builder: tkojm) May 3 12:17:02 smtp freshclam[20408]: daily.cvd updated (version: 866, sigs: 1070, f-level: 4, builder: arnaud) May 3 12:17:02 smtp freshclam[20408]: Database updated (34149 signatures) from database.clamav.net (IP: 129.64.99.170) May 3 12:17:02 smtp freshclam[20408]: ERROR: Clamd was NOT notified: Can't connect to clamd through /var/clamav/clamd.sock May 3 12:17:09 smtp clamav-milter[8067]: j43JG2OX019910: /tmp/clamav-c7c0b2a04378f618/msg.ZrCyWp: Worm.Sober.P Intercepted virus from <[EMAIL PROTECTED]> to <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> May 3 12:19:03 smtp clamav-milter[8067]: ClamAv: setsockopt() failed (Invalid argument) May 3 12:19:03 smtp last message repeated 23 times Somehow or other, that -B flag is being set when clamav-milter restarts following the reload. -- Pete Hanson http://www.well.com/user/wolfy http://www.fotolog.net/wolfy _______________________________________________ http://lurker.clamav.net/list/clamav-users.html