I have a very old install of Debian which many years ago I added clamav to, it is now on Debian 4.0 but I suspect over the years clamav has changed, but my config files probably have not...
....recently I have noticed that clamav-milter no longer works and I have this in the error log, =========== Feb 19 20:32:57 hermes sm-mta[26767]: m1J7Wv6d026767: Milter (clmilter): error connecting to filter: Connection refused by / var/run/clamav/clmilter.sock Feb 19 20:32:57 hermes sm-mta[26767]: m1J7Wv6d026767: Milter (clmilter): to error state Feb 19 20:32:58 hermes sm-mta[26767]: m1J7Wv6d026767: from=<[EMAIL PROTECTED]>, size=463, class=0, nrcpts=1, msgid=<200 [EMAIL PROTECTED]>, proto=SMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1] Feb 19 20:32:58 hermes sm-mta[26771]: m1J7WwNj026771: Milter (clmilter): error connecting to filter: Connection refused by / var/run/clamav/clmilter.sock Feb 19 20:32:58 hermes sm-mta[26771]: m1J7WwNj026771: Milter (clmilter): to error state Feb 19 20:32:58 hermes sm-mta[26771]: m1J7WwNj026771: localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN du ring connection to MTA-v4 =========== email is sent and delivered OK, but no clamav in the headers and the errors above.... Trying to restart the clamav-milter from init.d never completes, just hangs.... From the logs, clamav.log Tue Feb 19 20:15:45 2008 -> Algorithmic detection enabled. Tue Feb 19 20:15:45 2008 -> Portable Executable support enabled. Tue Feb 19 20:15:45 2008 -> ELF support enabled. Tue Feb 19 20:15:45 2008 -> Detection of broken executables enabled. Tue Feb 19 20:15:45 2008 -> Mail files support enabled. Tue Feb 19 20:15:45 2008 -> Mail: Recursion level limit set to 64. Tue Feb 19 20:15:45 2008 -> OLE2 support enabled. Tue Feb 19 20:15:45 2008 -> PDF support disabled. Tue Feb 19 20:15:45 2008 -> HTML support enabled. Tue Feb 19 20:15:45 2008 -> Self checking every 3600 seconds. hermes:/var/log/clamav# tail freshclam.log Ignoring mirror 203.16.234.78 (too often connections with outdated version) ERROR: getpatch: Can't download daily-5863.cdiff from db.nz.clamav.net WARNING: Incremental update failed, trying to download daily.cvd Ignoring mirror 203.16.234.78 (too often connections with outdated version) Ignoring mirror 203.202.10.60 (too often connections with outdated version) Ignoring mirror 193.1.193.64 (too often connections with outdated version) ERROR: Can't download daily.cvd from db.nz.clamav.net Giving up on db.nz.clamav.net... Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons. -------------------------------------- In the sendmail.mc I have, -------------------- define(`MILTER',1) INPUT_MAIL_FILTER(`clmilter',`S=/var/run/clamav/clamav-milter.ctl, F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter') ------------------- When trying to restart sendmail it does but the clamav-milter fails, I get this message... hermes:/var/log/clamav# /etc/init.d/sendmail restart Restarting Transport Agent: sendmailWARNING: Xclmilter: local socket name /var/run/clamav/clamav-milter.ctl missing So I touched /var/run/clamav/clamav-milter.ctl No joy.... I un-installed and then re-installed clamav-milter...no joy.... Ideas please? regards Steven _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html