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



NAME

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


SYNOPSIS

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


DESCRIPTION

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

spam_accept($where)
Calls accept and returns 1 if the message is spam, otherwise 0.

spam_ignore
Calls ignore and returns 1 if the message is spam, otherwise 0.

spam_reject($reason)
Calls reject and returns 1 if the message is spam, otherwise 0.

spam_pipe($program)
Calls pipe and returns 1 if the message is spam, otherwise 0.

is_spam
Returns 1 if the message is spam, 0 if it is not.

VARIABLES

$Mail::Audit::Razor::config
The path to your razor config file. The default is $ENV{HOME}/razor.conf.


AUTHOR

Nate Mueller <nate@cs.wisc.edu>


SEE ALSO

http://razor.sourceforge.net and the Mail::Audit manpage

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