Hi clamav users and developers! I had servers with sendmail and clamav at each one, all was fine working via local socket. I decided to move clamav to dedicated server.
So I changed socket from local to inet and everything was OK. But about 40 days later I noticed in sendmail logs such messages: Jun 7 12:38:04 mail23 sm-mta[56240]: q578c226056240: from=<sumeu...@yandex.ru>, size=12522809, class=0, nrcpts=1, msgid=<491681339058...@web30d.yandex.ru>, proto=ESMTP, daemon=Daemon0, relay=forward1.mail.yandex.net [77.88.46.6] Jun 7 12:38:12 mail23 sm-mta[56240]: q578c226056240: Milter: data, reject=451 4.3.2 Please try again later Jun 7 12:38:12 mail23 sm-mta[56240]: q578c226056240: to=<my.u...@mydomain.ru>, delay=00:00:09, pri=12552809, stat=Please try again later Whenever I stop clamav-milter this rejects gone away. In clamav-milter logs I see only this: Jun 7 12:37:08 avsrv clamav-milter[29989]: clamfi_eom: FD send failed: Broken pipe Jun 7 12:37:08 avsrv clamav-milter[29989]: FD send failed So what's happening here? If I restart clamav-milter it takes about 40 minutes to get 1st errors like above. clamav 0.97.4 freebsd 8.3 amd46 load averages: 0.03, 0.05, 0.05 clamd.conf: LogFile /var/log/clamav/clamd.log LogFileMaxSize 100M LogTime yes PidFile /var/run/clamav/clamd.pid DatabaseDirectory /var/db/clamav LocalSocket /var/run/clamav/clamd.sock FixStaleSocket yes MaxConnectionQueueLength 200 StreamMaxLength 100M MaxThreads 80 User clamav AllowSupplementaryGroups yes ScanMail yes MaxFileSize 100M clamav-milter.conf MilterSocket inet:7357 FixStaleSocket yes User clamav AllowSupplementaryGroups yes PidFile /var/run/clamav/clamav-milter.pid ClamdSocket unix:/var/run/clamav/clamd.sock MaxFileSize 50M AddHeader Yes VirusAction /usr/local/bin/my_infected_message_handler LogTime yes LogSyslog yes LogFacility LOG_MAIL LogVerbose yes I raised kern.ipc.somaxconn to 1024 from 128, nothing changed. At that moment I stopped clamav-milter to let mail flow work correctly. Any help appreciated! _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml