Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 musing on the Monastery: (10)
As of 2014-08-22 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (151 votes), past polls