Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[Discipulus]: I havery limited needs in such field. Sometimes (for children party invitations) i draw something by hand and I scan it to include into an ms doc.
Discipulus havery can be a good neologism for: have very..;=)
[ambrus]: Discipulus: sure, it's just that, look, some people (including me) have such unreadable and slow handwriting that writing an article or slides by hand would be a very bad idea.
[choroba]: it might bery useful for other verbs, too
[ambrus]: (and I have a need for at least decent formatting too)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-09-26 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?