<<< Date Index >>>     <<< Thread Index >>>

Re: Return-Path problem



> Ok, now another newbie question, I am just trying to understand what I
> just did.  The manual says:
> 
> 3.291. use_envelope_from
> 
> Type: boolean
> Default: no
> 
> "When set, mutt will set the envelope sender of the message. If
> ``$envelope_from_address'' is set, it will be used as the sender
> address. If not, mutt will attempt to derive the sender from the "From:"
> header."
> 
> 
> I am still trying to understand the terminology being used.  What does
> "envelope" mean here - is this the header of the mail as seen in other
> mail programs, like Outlook ?

I found this useful:
http://pyropus.ca/software/getmail/faq.html#faq-configuring-envelope
http://wiki.mutt.org/?MuttGuide/Send
 
> Question 2:   does this only work because I have my From: adres set in
> the muttrc as well ?

As I understand the manual, yes. I use

    folder-hook . "set from=some@xxxxxxxxxxx realname='John Doe'"
    
    # default, generate header "From: John Doe <some@xxxxxxxxxxx>"
    set use_from=yes            
    
    # use `sendmail -f some@xxxxxxxxxxx` 
    set use_envelope_from=yes   

If $envelope_from_address it not set, Mutt will determine some@xxxxxxxxxxx from
the "Form:" header, as stated in the manual. The construction of the "From:"
header is influenced by (a) my_hdr or (b) $use_from. In case (b), if you don't 
    
    set from=some@xxxxxxxxxxx

you get something like "From: your-login-name@xxxxxxxxxxxxxxxxx".

Can some guru confirm this? :)

steve