Mathieu Bouchard wrote:
However, my mail program hides the EnvelopeFrom (the very
first line of the message, if I'm not mistaken)
You are mistaken.
The very first line of the actual email can be any header, though
different storage format my have other requirements (see more
below) for the email as stored on disk.
The "envelope from address" is the address used in the SMTP
conversation.
It may be in the mails header, usually as a "Return-Path:"
header, but that is up to whatever software your mail system use
and nobody here can guarantee that it will be there at all. It is
sometimes in "Envelope-From:" or included in a "Received:" header.
Email is often stored with a "From " line as the first line of
each message (in MBOXes for example). This line is part of the
storage system and is not part of the email. This line *may*
contain the address from the envelope, but it doesn't have to.
Exactly what it contains depends on the software that prepended
the it (usually your MDA).
Regards
/Jonas
--
Jonas Eckerman, FSDB & Fruktträdet
http://whatever.frukt.org/
http://www.fsdb.org/
http://www.frukt.org/