Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by thecap (Initiate)
on Feb 02, 2004 at 21:50 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://326025]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found