Patrick, When you modified the sendmail.mc file, did you then use it to generate a new sendmail.cf file and move it into the right place (not sure where that is on a debian system, but its usually /etc/mail/sendmail.cf) -- then restart sendmail?
If so, you should set the log level to something suitably high and make sure syslogd is configured to log the mail facility correctly (usually mail.debug gets sent to its own file, but again, I don't know debian). The following .mc file entries should do the trick (but you can also just modify the .cf directly just to test this): define(`confLOG_LEVEL', `10') define(`confMILTER_LOG_LEVEL', `10') Once this is done, you should see messages from sendmail complaining about why it can't talk to the milter. That should help identify the problem. I hope that helps. rgr On Sun, 30 Nov 2003 10:51:24 +0100, Patrik wrote > 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: [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=<[EMAIL PROTECTED]>, 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 > > -- Richard G. Roberto [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users