[Mimedefang] SA report on quarantined report

Nels Lindquist nlindq at maei.ca
Thu Mar 13 17:42:00 EST 2003


On 13 Mar 2003 at 20:57, Alan Williamson wrote:

> ... right that last thing from Stefano helped a HUGE amount ... next thing
> ... I get the quarantined reports ... but how do I get the SA report insert
> into that body?

Well assuming you call SA something like:

($hits, $required, $tests, $report) = spam_assassin_check();

Then the $report variable contains the SA report.  In order to 
include it in the quarantine report, add it to the @Warnings array as 
follows:

push(@Warnings, "$report\n");

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.




More information about the MIMEDefang mailing list