Sorry if this has been asked a lot. I've been looking through the 'net, and various archives of various messages, for an answer to how I can get mutt to reply to emails using the "To" address, as the "From" address.
my local account name is sugarat. but I also get mail to "[EMAIL PROTECTED]". When people send email to "[EMAIL PROTECTED]", I want to automatically use "[EMAIL PROTECTED]" as my From address in any replies. Sources, including the Mutt FAQ(s), the Mutt Manual, and a couple of old postings have led me to understand that this feature is controlled by using the setting "reverse_name". Also, I understand that "reverse_realname" and "alternates" and "from" settings also play a part. My understanding was that "reverse_name" could override the setting of "from", but that "my_hdr From" would override "reverse_name". I'm using Mutt 1.3.28i, configured with '--enable-imap --enable-pop --enable-locales-fix --with-regex --with-included-gettext --enable-buffy-size' and have reduced my muttrc file to the following: ---------------------------------------------------------- set realname = "Tim Kennedy" set from = "[EMAIL PROTECTED]" set reverse_name = yes set reverse_realname = yes set hidden_host = yes set alternates = "[EMAIL PROTECTED]|[EMAIL PROTECTED]" set wait_key = no set spoolfile = "imap://mail.mydomain.com:143/INBOX" set sort = threads set sort_aux = date-received set editor = "vim" set abort_nosubject = ask-no set reply_self = yes set mbox = "imap://mail.mydomain.com:143/INBOX" set folder = "imap://mail.mydomain.com:143/INBOX" set edit_headers = yes set alias_file = "~/.mutt/aliases" set imap_home_namespace = "imap://mail.mydomain.com:143" ---------------------------------------------------------- From everything I've read, this should suit my purposes. I've made sure that the system Muttrc file is not changing any of these, even though it's read in first. I still am not getting the behavior that I expect. It always sends from the defined "from", "[EMAIL PROTECTED]". If I unset the "from", then it sends from the local account, and uses the real name from the gecos field of /etc/passwd. Usually, when I have a problem like this, it's because I'm missing something simple. In this case, I have no idea what I'm missing. I've tried other expansions in setting "my_hdr From" using ~f and ~t and such, but that doesn't work either. I've also tried this with mutt-1.2.5i, with the same options, but no luck there, either. Can anybody point me in the right direction? Thank you for your time, -Tim Kennedy [EMAIL PROTECTED]