[Mimedefang] SpamAssassin

Ashley M. Kirchner ashley at pcraft.com
Mon May 6 18:26:46 EDT 2002


    Right now I have the following bit in my filter:

    # Check for spam through SpamAssassin
    if (spam_assassin_is_spam() && !$approved) {
        action_add_header("X-Spam-Warning", "SpamAssassin says this message is
SPAM");
        action_quarantine_entire_message();
        return action_discard();
    }

    How can I get the following bits from SpamAssasin in the header:

    get_names_of_tests_hit ()
    get_hits ()
    get_report ()

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.






More information about the MIMEDefang mailing list