Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to set 'reply to' when sending mail (similar to -r in AIX). I am not the System Administrator and having things changed here (user entry in /etc/passwd) is like pulling teeth. I tried to set REPLYTO but to no avail. There is no mailx on any of our Linux boxes. I'm stumped and any help is appreciated.
I need to set 'reply to' when sending mail (similar to -r in AIX). I am not the System Administrator and having things changed here (user entry in /etc/passwd) is like pulling teeth. I tried to set REPLYTO but to no avail. There is no mailx on any of our Linux boxes. I'm stumped and any help is appreciated.
Well, what version/distro of Linux? And what mail program are you using, if you don't have mailx running? And how have you tried to set REPLYTO?
Mailx does have a command-line switch to set the reply-to address, but that doesn't help you in this case.
uname -a
Linux webdev01 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686 athlon i386 GNU/Linux
export REPLYTO=xxx@yyy.com
I'm running the Korn shell
Well, the uname -a will give you kernel and other info. Version/distro is like RedHat 5 or OpenSuSE 10.3, etc.
Based on your kernel, and the references to the mail program you're running, it's not surprising you're missing some options.
You can try to download/install a more modern mail program from source, but given what you say about your environment, that may not be easy. And exporting that environment variable...never seen that done before....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.