Hi, I am new to clamav and sendmail milter. I tried to configure sendmail-8.14.4 with clamav-milter 0.97, set necessary sendmail milter macros
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}, {rcpt_addr} O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr} O Milter.macros.eom={msg_id}, {mail_addr}, {rcpt_addr}, i in sendmail.cf. I configured a VirusAction script and set it into clamav-milter.conf. That script realizes a recipient notification. If I understood right, the script gets the recipients from the sendmail macro rcpt_addr. Now clean mails go trough clamav-milter and deliver to all recipients. But always if a virus is found for a mail with more than one recipient, only the last recipient gets a notification. I checked the Logfiles for clamav-milter and there is really only one (the last) recipient forwarded to the Action-Script. I set Milter.Loglevel within sendmail.cf to high value (=12) to get some more mailer loggings. But I cant detect the faulty part of configuration. Any help will be appreciated. Regards, Annette mail log with clamav-milter logging. Original mail goes to 2 recipients, but clamav-milter forwards only one recipient address to the ActionScript: May 24 14:11:19 mail2 sendmail[7634]: p4OCBJnA007634: from=<numgast2@mymailer.mydomain.countrycode>, size=1888, cla ss=0, nrcpts=2, msgid=<alpine.LNX.2.00.1105241410260.2129@mymailer.mydomain.countrycode>, proto=ESMTP, daemon=MTA, relay=mymailer.mydomain.countrycode [xxx.xxx.12.21] May 24 14:11:19 mail2 clamav-milter[2833]: Message p4OCBJnA007634 from <numgast2> to <numgast2> with subject 'test 7 24.5.2011' message-id '<alpine.LNX.2.00.1105241410260.2129@mymailer.mydomain.countrycode>' date 'Tue, 24 Ma y 2011 14:11:19 +0200 (CEST)' infected by ClamAV-Test-File May 24 14:11:19 mail2 clamav-milter[2833]: VirusEvent: about to execute '/extern/maildata/sbin/clam-virus-act ion.sh' 'ClamAV-Test-File' 'p4OCBJnA007634' 'numgast2' 'numgast2' 'test 7 24.5.2011' '<alpine.LNX.2.00.110524 1410260.2129@mymailer.mydomain.countrycode>' 'Tue, 24 May 2011 14:11:19 +0200 (CEST)' _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml