[Top] [All Lists]

Re: Best way to extra To: address?

1999-02-14 01:42:08
On 13 February 1999, Jim Osborn <jimo(_at_)eskimo(_dot_)com> wrote:
 Sean B. Straw <PSE-L(_at_)mail(_dot_)professional(_dot_)org> replies:
At 17:44 1999-02-12 -0800, Jim Osborn spoke:

My script would undoubtedly be better if it used the RT line if
present.  I looked for something equivalent to "formail -rztx To:"
that would use the From: or Reply-to:, but came up empty.

Ah, but that's just it: by using -r, formail has created the To:
field from the From: field - or the Reply-To:, etc.  The use of
To: may be misleading you -- it is the To: address which has been
determined as appropriate for a reply TO the sender, not the To: from
the original message.

That's what I'd hoped it would do, and what it indeed does on some
mail.  But when I run this header:

[quoted for presentation here, not in the real test]

From smartlst(_at_)mx1(_dot_)eskimo(_dot_)com  Wed Nov 18 17:21:59 1998
Resent-Date: Wed, 18 Nov 1998 17:21:59 -0800
From: Peter Ryan <pryan(_at_)singnet(_dot_)com(_dot_)sg>
To: "Omega-List (E-mail)" <omega-list(_at_)eskimo(_dot_)com>
Subject: test - plse delete
Date: Thu, 19 Nov 1998 08:25:01 +0800
X-Mailer: Microsoft Internet E-mail/MAPI -
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"alL3-1.0.ef.rAtKs"@mx1>
Resent-From: omega-list(_at_)eskimo(_dot_)com
X-Mailing-List: <omega-list(_at_)eskimo(_dot_)com> archive/latest/28506
X-Loop: omega-list(_at_)eskimo(_dot_)com
Precedence: list
Resent-Sender: omega-list-request(_at_)eskimo(_dot_)com
Status: RO

through "formail -rztx To:"
I get: omega-list(_at_)eskimo(_dot_)com
which doesn't seem to be the way it's working for you. No?

        formail -I Resent- -rztx To:


    Liviu Daia

Dr. Liviu Daia               e-mail:   daia(_at_)stoilow(_dot_)imar(_dot_)ro
Institute of Mathematics     web page:
of the Romanian Academy      PGP key:

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