[Mimedefang] .help with getting more information on spam.
David F. Skoll
dfs at roaringpenguin.com
Thu Apr 24 12:36:01 EDT 2003
On Thu, 24 Apr 2003, Alan Williamson wrote:
> So the question is ... how do I get the report at this stage?
> if (spam_assassin_is_spam()) {
Use spam_assassin_check instead:
my($hits, $required, $tests, $report) = spam_assassin_check();
if ($hits >= $required) {
# SpamAssassin report is in $report; list of test names
# is in $tests
action_quarantine_entire_message("Spam");
action_notify_administrator("SA report:\n$report\n");
return action_discard();
}
--
David.
More information about the MIMEDefang
mailing list