-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/15/06 00:41, s. keeling wrote: > Vincent Lefevre <[EMAIL PROTECTED]>: >> On 2006-10-13 14:35:14 -0500, Mike McCarty wrote: [snip] > > Easier might be mailfilter. I've never used it, but it's purported to > be the English language equivalent to procmail's "modem line noise" > syntax, and as powerful.
mailfilter has a very simple C-like syntax for filtering based on mail headers. I use it for simple stuff, but know I am just touching the tip of the iceberg. For example: if ( /^X-BeenThere: [EMAIL PROTECTED]/ ) { log "------------------------------- Maildir" to "Maildir/.Lists.Maildrop" } if ( /^X-Mailing-List:.*<debian-user@lists.debian.org>*/ ) { log "---------------------------- debian-user" to "Maildir/.Lists.Debian.User.2006q4" } if ( /^MessageID:.*chase.com>/ ) { log "-------------------------------- Chase" to "Maildir/.Bank" } log "- - -- - - - - - - - - - - - - - No match." to "Maildir" - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFMdPdS9HxQb37XmcRAkwRAJ9bu9i1Kt2AaTASekIt7cNtmCtd4ACg1kay 4C3Y/9JI7yBOgkzXLPxvDFQ= =Remn -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]