procmail
[Top] [All Lists]

Re: formail reply headers

1996-09-07 06:48:49
David W. Tamkin writes on 6 September 1996 at 21:56:39
Tom Zeltwanger asked,

| Can anyone tell me where I can find a detailed description of the rules
| used by formail when generating a reply header? When I receive messages
| with a From_ header and a Return Path: header, it seems to use these. 
| My understanding is that it should use the address in the From: header.

For a few versions in a row, formail -r mistakenly preferred From_ (Return-
Path: and From_ almost always have the same address in them) to all other

Ah, so that's what happened...here's a work-around I wrote quite some
time ago
        # formail -rt gives a lot of weight to the postmark, which by
        # this time is support(_at_)bristol(_dot_)com (since the message was
        # resent), we never want to use that as the address. 
        formail -I Resent-From: -I "From " -I Return-Path: -zrtx To: < $1

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        http://www.bristol.com/~dan
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, the Netherlands               {info,jobs}(_at_)bristol(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>