Reference

Mail::Audit::Razor(3pm)

Mail::Audit::Razor - Mail::Audit plugin for the Vipul's Razor spam detection system

    use Mail::Audit qw(Razor);
        my $mail = Mail::Audit->new;
    ...
        $mail->spam_accept($spambox);
        $mail->accept;

This is a Mail::Audit plugin that uses the Vipul's Razor distributed spam detection system to detect and deal with spam. It requires the "Razor::Client" and "Razor::Agent" modules from "http://razor.sourceforge.net". While Razor never flags false positives, it has been having problems with false reporting. Until that gets fixed I'd advise against ignoring or rejecting spam with this module.
METHODS Calls "accept" and returns 1 if the message is spam, otherwise 0. Calls "ignore" and returns 1 if the message is spam, otherwise 0. Calls "reject" and returns 1 if the message is spam, otherwise 0. Calls "pipe" and returns 1 if the message is spam, otherwise 0. Returns 1 if the message is spam, 0 if it is not.
VARIABLES The path to your razor config file. The default is "$ENV{HOME}/razor.conf". Nate Mueller <[email protected]> "http://razor.sourceforge.net" and Mail::Audit

History