Ken Weingold muttered:
> I am still trying to get this to work and it is not.  I also get mail
> at different address and would like mutt to change the From: field to
> that address the email to which I am replying to was sent.  I have
> 'set reverse_name' and 'set alternatives' with the address set,
> it still puts in the my_hdr I have set.
                      ^^^^^^^^^^^^^^^^^^^^

That's exatly the problem here. Don't use my_hdr when you use
reverse_name. my_hdr always overwrites any other header settings.

Here's my config:

# Configure From:
set realname="Michael Tatge"
set from="[EMAIL PROTECTED]"
set use_from                            # create From: Header
set reverse_name                        # reply with the address the message
                                        # was send to
set envelope_from
set alternates = "(Michael.Tatge|michael_tatge)"

# I don't want reverse_name here
send-hook . 'unmy_hdr From:'
send-hook '~t kencht' 'my_hdr From: Michael Tatge <[EMAIL PROTECTED]>'

HTH,

Michael
-- 
"Whip me.  Beat me.  Make me maintain AIX."
(By Stephan Zielinski)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key

Reply via email to