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.
Razor::Client
Razor::Agent
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.
spam_accept($where)
Calls accept and returns 1 if the message is spam, otherwise 0.
accept
spam_ignore
Calls ignore and returns 1 if the message is spam, otherwise 0.
ignore
spam_reject($reason)
Calls reject and returns 1 if the message is spam, otherwise 0.
reject
spam_pipe($program)
Calls pipe and returns 1 if the message is spam, otherwise 0.
pipe
is_spam
Returns 1 if the message is spam, 0 if it is not.
$Mail::Audit::Razor::config
The path to your razor config file. The default is $ENV{HOME}/razor.conf.
$ENV{HOME}/razor.conf
Nate Mueller <nate@cs.wisc.edu>
http://razor.sourceforge.net and Mail::Audit
To install Mail::Audit::Razor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Audit::Razor
CPAN shell
perl -MCPAN -e shell install Mail::Audit::Razor
For more information on module installation, please visit the detailed CPAN module installation guide.