I have got clamav-milter and sendmail. Its rejecting viruses OK but there are a few problems with unknown users etc turning up in my /var/log/maillog. Note the from=<> in the second line.
Any ideas? Here is my sendmail.mc VERSIONID(`RCS 8.12.9') OSTYPE(linux)dnl DOMAIN(generic)dnl FEATURE(use_cw_file)dnl FEATURE(always_add_domain)dnl FEATURE(relay_based_on_MX)dnl FEATURE(nouucp, `nospecial')dnl FEATURE(`access_db', hash -T<TMPF> /etc/mail/access)dnl FEATURE(local_procmail)dnl define(`LOCAL_MAILER_PATH', `/usr/bin/procmail') FEATURE(`masquerade_envelope')dnl MASQUERADE_AS(`mydomain.com')dnl FEATURE(`allmasquerade')dnl INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter') MAILER(smtp)dnl MAILER(procmail)dnl And here is my /var/log/maillog Sep 8 07:28:04 basement sm-mta[4156]: h87LS38W004153: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32215, dsn=2.0.0, stat=Sent Sep 8 07:28:04 basement sm-mta[4140]: h87LS38a004140: from=<>, size=5055, class=0, nrcpts=1, msgid=<200309072128.h87LS3100041 [EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] Sep 8 07:28:04 basement sendmail[4159]: h87LS4D3004159: to=<>, delay=00:00:00, mailer=local, pri=0, dsn=5.1.1, stat=User unknown Sep 8 07:28:04 basement sendmail[4159]: h87LS4D3004159: from=root, size=255, class=0, nrcpts=2, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Sep 8 07:28:04 basement sendmail[4159]: h87LS4D3004159: h87LS4D4004159: DSN: User unknown Sep 8 07:28:04 basement sm-mta[4160]: h87LS48W004160: from=<>, size=1961, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] Sep 8 07:28:04 basement sm-mta[4160]: h87LS48W004160: Milter add: header: X-Virus-Scanned: clamdscan / ClamAV version 0.60 Sep 8 07:28:04 basement sendmail[4159]: h87LS4D4004159: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31279, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h87LS48W004160 Message accepted for delivery) Sep 8 07:28:04 basement sm-mta[4140]: h87LS38a004140: Milter: data, reject=550 5.7.1 Virus detected by ClamAV - http://clamav.elektrapro.com Sep 8 07:28:04 basement sm-mta[4140]: h87LS38a004140: to=<[EMAIL PROTECTED]>, delay=00:00:00, pri=30610, stat=Virus detected by ClamAV - http://clamav.elektrapro.com Sep 8 07:28:04 basement sendmail[4139]: h87LS310004139: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31024, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable Sep 8 07:28:04 basement sendmail[4139]: h87LS30x004139: Losing ./qfh87LS30x004139: savemail panic Sep 8 07:28:04 basement sendmail[4139]: h87LS30x004139: SYSERR(robert): savemail: cannot save rejected email anywhere ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users