Hi! My setup boxes are running i386/FreeBSD 7.1-RELEASE-p4 with Sendmail 8.14.3. Recently for testing purposes I installed successfully clamav-0.94.2 without any problems. All the functionality was OK. During startup scripts execution a waning message about outdated clamav version occured. I decided to upgrade and clmilter stopped to scan email messages. There was also no SMTP header modification from ClamAV. I decided to fresh install clamav-0.95 on another box and the effect was exactly the same. It seems milter works as a simple loopback without any scan functionality. Could you, please, advise how to solve this problem?
Here are excerpts of my configuration files: sendmail.cf: ... O InputMailFilters=clmilter Xclmilter, S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m ... # Milter options #O Milter.LogLevel O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr} O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer} O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr} O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr} O Milter.macros.eom={msg_id} #O Milter.macros.eoh #O Milter.macros.data ... ------------------------------------------------------- clamav-milter.conf: ... FixStaleSocket yes User clamav MilterSocket /var/run/clamav/clmilter.sock PidFile /var/run/clamav/clamav-milter.pid ClamdSocket unix:/var/run/clamav/clamd.sock LogFile /var/log/clamav/clamav-milter.log ... ----------------------------------------- clamd.conf ... LogFile /var/log/clamav/clamd.log PidFile /var/run/clamav/clamd.pid DatabaseDirectory /var/db/clamav LocalSocket /var/run/clamav/clamd.sock FixStaleSocket yes User clamav AllowSupplementaryGroups yes ScanMail yes ------------------------------------------- Interesting directory listings: evaluate# cd /var/run/clamav evaluate# ls -l total 6 -rw-rw---- 1 clamav clamav 4 Apr 2 10:04 clamav-milter.pid -rw-rw---- 1 clamav clamav 4 Apr 2 10:04 clamd.pid srwxrwxrwx 1 clamav clamav 0 Apr 2 10:04 clamd.sock srwxr-xr-x 1 clamav clamav 0 Apr 2 10:04 clmilter.sock -rw-rw---- 1 clamav clamav 3 Apr 2 09:50 freshclam.pid ------------------------------------------- Also here are the latest logs: clamd.log: +++ Started at Thu Apr 2 10:04:07 2009 clamd daemon 0.95 (OS: freebsd7.1, ARCH: i386, CPU: i386) Running as user clamav (UID 106, GID 106) Log file size limited to 1048576 bytes. Reading databases from /var/db/clamav Not loading PUA signatures. Loaded 538372 signatures. LOCAL: Unix socket file /var/run/clamav/clamd.sock LOCAL: Setting connection queue length to 15 Limits: Global size limit set to 104857600 bytes. Limits: File size limit set to 26214400 bytes. Limits: Recursion level limit set to 16. Limits: Files limit set to 10000. Archive support enabled. Algorithmic detection enabled. Portable Executable support enabled. ELF support enabled. Mail files support enabled. OLE2 support enabled. PDF support enabled. HTML support enabled. Self checking every 600 seconds. Set stacksize to 1114112 ------------------------------- clmilter.log: +++ Started at Thu Apr 2 10:04:15 2009 ------------------------------- No email scan takes place No SMTP header modification occurs Any suggestions will be appreciated! Thanks in advance! Lyubomir Russev _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml