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.:

REPLYTO=somename@place.com mutt -s "test" dest@otherplace.com < /dev/null

env REPLYTO=somename@place.com mutt -s "test" dest@otherplace.com < /dev/null

do not work, nor does:

printf "my_hdr Reply-to: User Name <somename@place.com>" > muttfile
mutt -s "test" -F muttfile dest@otherplace.com < /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

link|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 1.4.2.2i – molecules Sep 29 '11 at 16:20
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.