On Thu, Jan 24, 2002 at 09:04:22PM -0600, Jeremy Blosser wrote: > On Jan 24, Jeremy Blosser [[EMAIL PROTECTED]] wrote: > > On Jan 25, Roman Neuhauser [[EMAIL PROTECTED]] wrote: > > > Now, what bugs me about both of these programs: to the best of my > > > knowledge, neither offers you a real programming language. This can be a > > > plus, or a minus (YMMV), but imagine being able to write filters using a > > > full-featured scripting language! > > > > Qmail's .qmail files allow this to be done pretty easily, since you can > > pipe messages to whatever you want. All you'd need to do is stick > > something on the end that can read a message as stdin and deliver it, like > > the maildir/safecat command. > > > > I have no idea if Postfix/Exim/etc. offer something similar. > > I've been told their .forward will do the same; I wasn't sure before how > much they allowed. It's been a while.
Yep, you can use .forward to forward mail to arbitrary programs as well as other addresses. Here's how I forward all my incoming mail through my Mail::Audit script: $ cat ~/.forward |/home/walt/bin/audit_mail.pl $ Walt
msg23780/pgp00000.pgp
Description: PGP signature