Walt Mankowski on Sat, 15 Jul 2000 09:26:48 -0400 (EDT) |
On Sat, Jul 15, 2000 at 06:06:25AM -0400, Bill Jonas wrote: > Wow. That looks very cool! :) Does it automagically handle lock files > and such? Of course! It also figures out whether the folder is in mbox or Maildir format and does the right thing automatically. > Of course, one could make the argument that since procmail is already > the default delivery agent on a number of systems, that should be used > since one doesn't have to mess with contortions in the .forward > file... ;-> It's not too difficult. Name the script something like ~/bin/audit_mail.pl, make it executable, then put the following in your .forward file: |~/bin/audit_mail.pl If you're using qmail, put the following in your .qmail file: preline ~/bin/audit_mail.pl You're correct, though, in pointing out that procmail is ubiquitous. Also, having converted my old .procmailrc file to a Mail::Audit script, I'm not convinced it's a significantly better approach. Simon Cozens, author of Mail::Audit, has written an excellent introduction to the module, talking about why he wrote it and some of the things you can do with it. It's available online at http://perlhacker.org/articles/mail-audit.html. He's also working on an article which will appear in a future issue of The Perl Journal. Walt ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|