David Thorburn-Gundlach <[EMAIL PROTECTED]> wrote:
>
> Right...  The '^From ' header (there's a real name for it, but I can
> never remember it :-) is the actual bit of useful data; the '^From:'
> header is essentially just additional information, and not The Truth.

The name you're looking for is "envelope separator", I believe.  :)

> % setup to not allow unsubscribed mails, and it rejects me. mutt doesn't
> % allow control of the From header, but it's a header written by mutt and
> % not sendmail..

Strictly speaking, it is not a header, but a separator, that separates
one message from another in the MBOX format mailbox.  It is not used,
for instance, in MAILDIR format mailboxes.

The information stored there comes from the  "envelope" of the message. 
The From: header is a cosmetic header stored in your message, but the
"envelope" is what is "written" on the "outside" of the message while it
is being delivered (such as, the SMTP "MAIL FROM" and "RCPT TO" protocol
exchanges, which are not "in" the message, but are sent along with it as
it travels through the mail network).

So, Mutt doesn't really write this header, except when it is storing a
message into a mailbox.  When Mutt is sending the message through
sendmail, Mutt doesn't write this header, because sendmail wouldn't
believe it anyway.

Your best bet is to configure sendmail so that it inserts the correct
envelope information when sending the message.  A setting like this
might help:

    set sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"

Sendmail might ignore you, or it might insert an
"X-Authentication-Warning" header to tell someone that you tried
to fake it out.  Have fun finding out.  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to