LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Mutt reply-to (https://www.linuxquestions.org/questions/programming-9/mutt-reply-to-383755/)

innuendo_98 11-16-2005 02:40 PM

Mutt reply-to
 
Does anyone knows how to setup the 'reply to' on mutt?

my script would have something like this :


mutt -s "Report for ${CLIENT} Feed" -a ${MNT}${CLIENT}${REPORT}/${f1} ${RECIPIENT} <${MSG}


this works fine, but since its a linux box any reply will go to the server.something.com. I want to redirect it from server.semething.com to any other email account I specify.

Any suggestions at the script level??

bulliver 11-18-2005 09:14 PM

See http://www.mutt.org/doc/man_page.html

There is no command line switch for this, but their is an ENV variable, so at the top of your script add:

export REPLYTO="foo@bar.baz"


All times are GMT -5. The time now is 07:31 PM.