[Mimedefang] Repeated $VirusScannerMessages?

David F. Skoll dfs at roaringpenguin.com
Sat Feb 16 15:59:53 EST 2002


The anti-virus scanner messages are confusing.  Each invocation of the
scanner accumulates more messages.  I recommend doing
something like this:


sub filter_begin {
	$MyAntivirusMessages = "";
	if (message_contains_virus_nai()) {
		$MyAntivirusMessages = $VirusScannerMessages;
	}
	...
}

and then in your notifications or warnings, use $MyAntivirusMessages.

--
David.




More information about the MIMEDefang mailing list