AW: [Mimedefang] Repeated $VirusScannerMessages?
Martin Bene
martin.bene at icomedias.com
Sat Feb 16 03:55:55 EST 2002
Hi Ashley,
> I've been testing the openantivirus scanner and I can't
> figure this out. I've grabbed the distribution
> high-risk-filter, done as little as only changing the
> reference from NAI to sophos since that's what I'm using.
> Every test I made, both messages (both the one delivered to
> the recipient, as well as the one sent back to the $Sender)
> contain the $VirusScannerMessages repeated a few times:
I've had this problem as well: it's caused by first calling the virus scanner on the whole message (message_contains_virus_xxxx) and then again on each of the attachments.
What I've done: discard the output of message_contains_virus, use just the output from the entity_contains_virus calls. also, I've had to configure my scanner to produce no output if an attachment is clean; messages with several attachments where only one is infected produce quite confusing output otherwise.
Bye, Martin
More information about the MIMEDefang
mailing list