[Mimedefang] quarantining spam AND the spam report
Nels Lindquist
nlindq at maei.ca
Wed Oct 15 15:16:54 EDT 2003
On 14 Oct 2003 at 16:14, Brian C. Hill wrote:
> action_bounce("msg");
> action_quarantine_entire_message("msg");
>
> That bounced and qurantined, but quarantine did not
> include the spam report.
You're passing the wrong parameter to
action_quarantine_entire_message. You're trying to pass the entire
message; you really want to pass the SA report. Assuming you're
calling SA like so:
($hits, $req, $tests, $report) = spam_assassin_check();
Then you'd want:
action_quarantine_entire_message("$report\n");
The report will show up in the quarantine directory as "MSG.0".
----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.
More information about the MIMEDefang
mailing list