In <[EMAIL PROTECTED]>, on 10/13/2006
at 02:10 PM, Paul Gilmartin <[EMAIL PROTECTED]> said:
>Note the three headers above for an example.
There is a subtle point you need to pay attention to. While RFC 2822
governs the contents of a message, RFC 2821 governs the envelope,
i.e., the SMTP commands used to convey it. The MAIL command specifies
the reverse path to which RFC 2821 delivery status notifications are
sent, and that need not be the same as either the From or Sender
header field. You need to ensure that the addresses in both the
envelope and the header are authorized. Also, note:
3.10 Mailing Lists and Aliases
An SMTP-capable host SHOULD support both the alias and the list
models of address expansion for multiple delivery. When a message
is
delivered or forwarded to each address of an expanded list form,
the
return address in the envelope ("MAIL FROM:") MUST be changed to be
the address of a person or other entity who administers the list.
However, in this case, the message header [32] MUST be left
unchanged; in particular, the "From" field of the message header is
unaffected.
>See RFC 822 (or is it 2822?)
RFC 2822 replaced RFC 822 years ago.
The originator fields indicate the mailbox(es) of the source of the
message. The "From:" field specifies the author(s) of the message,
that is, the mailbox(es) of the person(s) or system(s) responsible
for the writing of the message. The "Sender:" field specifies the
mailbox of the agent responsible for the actual transmission of the
message. For example, if a secretary were to send a message for
another person, the mailbox of the secretary would appear in the
"Sender:" field and the mailbox of the actual author would appear
in
the "From:" field. If the originator of the message can be
indicated
by a single mailbox and the author and transmitter are identical,
the
"Sender:" field SHOULD NOT be used. Otherwise, both fields SHOULD
appear.
The originator fields also provide the information required when
replying to a message. When the "Reply-To:" field is present, it
indicates the mailbox(es) to which the author of the message
suggests
that replies be sent. In the absence of the "Reply-To:" field,
replies SHOULD by default be sent to the mailbox(es) specified in
the
"From:" field unless otherwise specified by the person composing
the
reply.
In all cases, the "From:" field SHOULD NOT contain any mailbox that
does not belong to the author(s) of the message. See also section
3.6.3 for more information on forming the destination addresses for
a
reply.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html