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.
spam_accept($where)
accept
and returns 1 if the message is spam, otherwise 0.
spam_ignore
ignore
and returns 1 if the message is spam, otherwise 0.
spam_reject($reason)
reject
and returns 1 if the message is spam, otherwise 0.
spam_pipe($program)
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.
$Mail::Audit::Razor::config
The path to your razor config file. The default is $ENV{HOME}/razor.conf
.
Nate Mueller <nate@cs.wisc.edu>
http://razor.sourceforge.net
and
Mail::Audit