[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Johnson wrote: > > I've briefly looked at procmail in the past but it all looks very > complicated.... and I've never really understood how or where it would > fit it with an MTA such as Postfix. The simple Postfix integration is; $ more ~ukbt/.forward | procmail Simple enough? Then your procmailrc is processed for each message. You'll need at least two rules in $HOME/procmailrc... I'm not up on rules but it'll be something like; :0 * ^SPAMFLAGSTARTOFLINE moreregexlike stuff | whattodowithspam :0 | whattodowithrest (or line reads !david if david is your username and you just want it delivered). Theo and others are into procmail if you need something more specific, but I think you'll master the man page easy enough. If in doubt stick a; :0 c $MAILDIR/allmail rule at start of procmailrc rules sections in to copy all incoming mail to the "allmail" file (assuming you defined $MAILDIR earlier in procmailrc). So if you mess up at least you have a copy of all your mail safe and sound in one place. I think you can make .procmailrc processing part of Postfix delivery mechanism in the Postfix config files which is good for certain types of delivery, but seems unnecessarily complex joining of systems that can happily run concurrently. -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+h/yrGFXfHI9FVgYRAkDdAKCpAMwyegmrv+XZ2jYNRl+2RKYzWgCgvVoS pDsHG35jfzGMPzdHhAWUwFc= =dNcn -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.