Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin

by thecap (Initiate)
on Feb 02, 2004 at 21:50 UTC ( #326025=note: print w/ replies, xml ) Need Help??


in reply to A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin

SpamAssassin is dropping support for Mail::Audit. :-(

I think we will need to change the way we call SA from Mail::Audit scripts to something like the following UNTESTED code:

# Catch spam my $spamtest = Mail::SpamAssassin->new( ); my $status = $spamtest->check($mail); my $sa_mail_obj = $status->rewrite_mail (); # Fix needed with SA 2.70 $mail = Mail::Audit->new( data => $sa_mail_obj->get_pristine() ); if( $status->is_spam() ) { $mail->accept(MAIL_DIR.'Lists/JunkSpamAssassin'); }
updated 2004-02-04

The author of Mail::Audit stopped supporting it and released Email::Filter.


Comment on Re: A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://326025]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (17)
As of 2015-07-28 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls