July 13th, 2009, 10:50 AM
Sendmail with clamav-milter stops working after upgrade
I have sendmail and clamav-milter on my centos5 server, its been working perfectly for months.
I upgraded clamav components via yum..
Now, I have restarted sendmail, clamd, clamav-milter./
Sendmail is working fiine- ie its delivering mail!
There are no strange lines in maillog, clamd log or clamav log to show any problems...
sendmail m4 file contains:
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/clamav/clmilter.socket, F=, T=S:4m;R:4m')dnl
this socket agrees with the one pecified in /etc/clamav-milter.conf
sendmail.cf also has the right line;
have restarted sendmail, clamd, clamav-milter
clamd is running
clamav-milter is running
But no email is being scanned for virus....I used to get a milter note on every maillog line, and an X-Virus header in every email, these both gone now
Any idea at all what to try next?
July 13th, 2009, 11:57 AM
[root@srv02 clamav]# clamscan -V
ClamAV 0.95.2/9558/Mon Jul 13 03:49:50 2009
[root@srv02 clamav]# rpm -q clamav-milter
[root@srv02 clamav]# rpm -q sendmail
[root@srv02 clamav]# rpm -q clamd
[root@srv02 clamav]# rpm -q glibc
[root@srv02 clamav]# rpm -q zlib
July 20th, 2009, 02:13 AM
Great, well that was a deafening silence!
In case anyone else comes across this, it seems that calmav-milter now works in a different way with version 0.95... it is in fact working (I am seeing viruses being picked up etc in my daily logwatch) but it no longer adds an X-virus line to emails nor does it produce any evidence of its work in mail logs..