First of all, ive checked the other threads about this.
So, running debian and having problems getting clamav-milter to work together with sendmail.
I've done what the documentation said and that is:
Installed debian packages: clamav-base, clamav, clamav-milter, clamav-daemon and the freshclam package (incl libs).
I've run dpkg-reconfigure clamav-daemon to configure it and the clamav.conf looks like this:
 
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
LocalSocket /var/run/clamd.ctl
ScanMail
ScanArchive
StreamSaveToDisk
StreamMaxLength 50M
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ThreadTimeout 180
MaxThreads 5
MaxConnectionQueueLength 15
LogFile /var/log/clamav-daemon.log
LogTime
PidFile /var/run/clamd.pid
DataDirectory /var/lib/clamav/
SelfCheck 3600
I've added the following to /etc/mail/sendmail.mc:
 
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.clt, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')
 
clamd is started and clamav-milter to with: /usr/sbin/clamav-milter -blo /var/run/clmilter.clt
 
Then I've restarted sendmail just as the documentation says but it doesnt work.
The mailheader doesnt say anything about X-Virus-Scanner or nothing, I've tried to send a mail with the clamav-signature virus but nothing.
/var/log/mail.log looks like this after I send a mail:
 
Nov 30 10:50:00 linux sm-mta[25088]: AUTH=server, relay=xxxx.xxxxx.xxx [xxx.xxx.xxx.xxx], authid=web25p1, mech=LOGIN, bits=0
Nov 30 10:50:01 linux sm-mta[25088]: xxxxXXXxxXXxx: from=[EMAIL PROTECTED], size=1137, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=xxxxxx.xxxx.xxxx [xxx.xxx.xxx.xxx]
Nov 30 10:50:01 linux sm-mta[25091]: xxxxXXXXxxxXXx: to=<xxxx@xxxxx.xx>, ctladdr=<[EMAIL PROTECTED]> (1276/106), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30434, relay=xxxxx.xx. [xxx.xxx.xxx.xxx], dsn=2.0.0, stat=Sent (Ok: queued as E996C4095)
 
Well xxx...xxx is ofcourse something else, but it doesnt look like anything went wrong.
What might be the problem?
 
Thanks,
Patrik

Reply via email to