On Tue, Feb 02, 1999 at 12:27:07PM -0600, David DeSimone wrote:
> 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. :)
envelope sender.
> > % 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.
Yeah ok, in there it's a separator. But it's never sent as part of the mail. It is
out-of-band data, and part of the SMTP protocol. Therefore, my_hdr won't cut it.
> 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).
Exactly.
> 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. :)
Correct.
Greetz, Peter.
--
.| Peter van Dijk
.| [EMAIL PROTECTED]