| The next thing we have to look at is the difference between the mail's envelope and
the header:
If you are a common internet-user, then you may only have seen the header so far: This
is a string prepended to every mail that is sent, that contains some information about
the sender (From:), the recipient (To:), the subject (Subject:),
but also some statistical information where the mail passed through (Received:).
The header is terminated by a blank line and then followed by the message itself.
The header is that thing, that your email-client (MUA) sees, when displaying the message.
It will fill it's GUI with this information.
The envelope on the other hand ist something that is generated by an MTA, based on
the two SMTP-commands RCPT TO and MAIL FROM. The envelope
is invisible for the MUA (exception: the standard Unix delivery program adds the Envelope-From
as a line beginning with "From " as the first line of the header). MTA never
look at the From:- or To:-header when decideing what to do with
a message: They only look at the envelope.
This can be transferred to the real world: Your post-office also does not open your
letter to get the information where it should direct it to: It simply reads what is written
on the envelope. If you receive a letter that has been put into the wrong envelope, it is your
responsiblity to repost the letter with a correct envelope.
|