procmail
[Top] [All Lists]

Re: Using References: and/or In-Reply-To: headers

2006-06-21 14:33:31
On Wed, Jun 21, 2006 at 10:55:26PM +0200, Dallman Ross wrote:

I've test this.  It seems to work.


   LOCKFILE = msgid.russell$LOCKEXT
   :0 
   * ^Message-id:(_dot_)*(_at_)drussell[(_dot_)]dnsalias[(_dot_)]com>
   * ? formail -D 8191 msgid.russell
   { }
   LOCKFILE

   :0 fw h
   * ^In-Reply-To:(_dot_)*(_at_)drussell[(_dot_)]dnsalias[(_dot_)]com>
   * ^X-Beenthere:.*procmail
   * ? formail -IMessage-ID -RIn-Reply-To Message-ID -D 8192 msgid.russell
   | formail -A "X-Special-Flag: Followup to me!"

I think the LOCKFILE name should be something else.  Maybe
someone can refresh my thinking on that topic.

Also, one could use a similar trick to send mail to the
spam pile if it has "RE:" or "FWD:" in the Subject, is
not from a trusted person, and is not a follow-up to something
whose Subject is in a cache.  That is, I'll let whitelisted
folks send me RE: or FWD: stuff that I hadn't seen originals
to, but for unvetted people, they've no business sending that
to me, and it's a good spam indicator.

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail