[Mimedefang] SpamAssassin

David F. Skoll dfs at roaringpenguin.com
Mon May 6 19:49:37 EDT 2002


On Mon, 06 May 2002 16:26:46 -0600 "Ashley M. Kirchner"
<ashley at pcraft.com> wrote:

>     How can I get the following bits from SpamAssasin in the header:
>     get_names_of_tests_hit ()
>     get_hits ()
>     get_report ()

For example:

my($hits, $req, $names, $report) = spam_assassin_check();
if ($hits >= $req) {
    action_change_header("X-Spam-Score", "$hits - $names");
}

and the man page for mimedfang-filter(5), function spam_assassin_check.

--
David.




More information about the MIMEDefang mailing list