Subj : ANNOUNCE: Mail::Audit 1.6 is available To : All From : Simon Cozens Date : Sat Jan 13 2001 05:32 pm From: Simon Cozens Mail::Audit is a module which helps you create mail filters in Perl; it's a replacement for procmail. Here's a sample mail filter: use Mail::Audit; my $mail = new Mail::Audit; $mail->resend('william@somewhere.edu') if ($mail->from =~ /peter/ and $mail->subject =~ /compilers/); $mail->accept; For New Users ------------- This release of Mail::Audit contains a new, experimental tool called "proc2ma" which attempts to convert your existing .procmailrc into a Mail::Audit filter. It's not perfect, but it's a good start. proc2ma requires Parse::RecDescent. Mail::Audit featured in The Perl Journal; the article is reproduced at http://simon-cozens.org/writings/mail-audit.html This is an introduction to mail and news filtering with Perl modules. For Existing Users ------------------ If you, like me, get most of your mail from a POP3 server, and you've been using fetchmail, you'll notice that Mail::Audit can drive up your load average; this is because fetchmail has to fork a new copy of perl every time it delivers a mail. This is horrific. This version of Mail::Audit includes popread, a stand-alone POP3 mail fetcher and filter, which does everything in one process. popread also checks for and removes duplicate messages on the server before downloading. popread requires Mail::POP3Client. -- Can you sum up plan 9 in layman's terms? It does everything Unix does only less reliably - kt --- BBBS/LiI v4.01 Flag-2 * Origin: Prism bbs (1:2320/38) .