Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For the life of me I can't get mutt on a bash line to use an environment variable OR an alternate muttrc file. The whole process of emailing and receiving the email is working back to front -- just this REPLYTO functionality doesn't seem to be working for me with mutt 1.5.20

i.e.: mutt -s "test" < /dev/null

env mutt -s "test" < /dev/null

do not work, nor does:

printf "my_hdr Reply-to: User Name <>" > muttfile
mutt -s "test" -F muttfile < /dev/null
rm muttfile

Maybe my my_hdr syntax is wrong or something (does not throw a parsing error though)...

This is all on a Ubuntu 10.04 server box

share|improve this question
Your first example works for me. (mutt 1.5.20) – Dennis Williamson Oct 29 '10 at 19:25
Your commands look like they should work. Can you check whether the mail is being sent with the header but something then strips it? (Check with Fcc, and in your local mail queue if you can access it.) Try sending to a different address (start with a local account), and try adding a different (X-) header. – Gilles Oct 30 '10 at 0:22
I have the same problem with Mutt – Christopher Bottoms Sep 29 '11 at 16:20

You must log in to answer this question.

Browse other questions tagged .