I'm still waiting for a reply on this one.
Unless I'm wrong, 'formail' is in direct violation of RFC822
(4.4.4. Automatic Use of From / Sender / Reply-to) by using the
'Sender' heading when I use:
formail -rtzxTo:
and there is a 'Sender:' header and no Reply-To
If I am right, 'formail' should be corrected.
If I am wrong, I should be corrected.
See my original message below for more.
TjL
This is the message that caused the problem. Note the "From ",
"Sender:" and "From:" lines especially
From cris(_at_)nesbittburns(_dot_)ca Mon Sep 30 12:22:07 1996
X-POP3-Rcpt: luomat(_at_)nerc1
Received: from keeper.NesbittBurns.ca (keeper.nesbittburns.ca
[192.139.71.50]) by nerc1.nerc.com (8.7.6/8.6.9) with SMTP id
LAA27944 for <luomat(_at_)nerc(_dot_)com>; Mon, 30 Sep 1996 11:25:41 -0400
Received: from risdev (localhost.nesbittburns.ca) by
keeper.NesbittBurns.ca (4.1/SMI-4.1) id AA20493; Mon, 30 Sep 96
11:25:37 EDT
Sender: cris(_at_)nesbittburns(_dot_)ca
Message-Id: <324FE67A(_dot_)18F(_at_)NesbittBurns(_dot_)ca>
Date: Mon, 30 Sep 1996 11:25:46 -0400
From: Cristian Cserveny <rtsys(_at_)nesbittburns(_dot_)ca>
Organization: Nesbitt-Burns
X-Mailer: Mozilla 2.0 (X11; U; HP-UX A.09.04 9000/826)
Mime-Version: 1.0
To: "Timothy J. Luoma" <luomat(_at_)nerc(_dot_)com>
Subject: send-ascii dwrites
Status: O
X-Status:
The auto-responder sent a reply back to:
"cris(_at_)nesbittburns(_dot_)ca" (which is in the "From " and "Sender:"
lines) vs
"rtsys(_at_)nesbittburns(_dot_)ca" (which is in the "From:" line).
The user in question says that according to RFC822 (4.4.4.
Automatic Use of From / Sender / Reply-to) this is not the proper
behavior.
I grabbed the auto-responder email address using:
FROM=`formail -rtzxTo:`
which I believed to be correct way to do this
Can anyone explain to me what happened? Is 'formail' wrong? Am I
using it wrong? Is the guy who complained wrong?
My guess is that 'formail' is smart enough not to grab 'Sender:' if
that is put down in RFC822, but perhaps it prefers the "From " line
over the "From:" line when choosing addresses?