Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2011, 09:55 AM   #1
Registered: May 2007
Posts: 75

Rep: Reputation: 15
mail command option to set reply different email address than author

Is it possible to set or use mail command option to set reply different email address than author?

I want to set diff email for reply-to who one got this email, when he click on reply it send email to diff email address that we set as reply-to.


mail -s "test reply" -s -- -f <fakename> 'reply-to'

Old 03-03-2011, 10:35 AM   #2
LQ Newbie
Registered: Feb 2011
Posts: 27

Rep: Reputation: 3

I suggest that you try to use sendEmail ( With it, i'm sure that you can do that.


Linux, Linux and Linux! Suporte Linux
Old 03-03-2011, 11:15 AM   #3
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,296

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Reply email address

I doubt if any implementation of "mail" or "mailx" would be able to do that.
You may want to check into "mutt". Mutt uses some environment variables and muttrc files to set itself, and I believe that this is something that you can configure.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reply to Email without revealing own address? LouRobytes General 2 05-27-2010 05:16 AM
mail command + changing senders email address aeby Linux - Server 5 04-18-2010 05:43 PM
set 'reply to' in mail michaelvv Linux - Newbie 6 03-05-2009 08:57 PM
Option to specify Sender's Address in Mail command crazy_girl Linux - Newbie 2 08-20-2007 10:36 AM
set reply to address on mailx hamish Linux - Newbie 3 05-31-2005 02:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration