LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-05-2009, 12:36 PM   #1
michaelvv
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Post set 'reply to' in mail


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.
 
Old 03-05-2009, 12:45 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by michaelvv View Post
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.
 
Old 03-05-2009, 04:33 PM   #3
michaelvv
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
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
 
Old 03-05-2009, 05:21 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
And what are you using to send mail?
 
Old 03-05-2009, 07:31 PM   #5
michaelvv
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
And what are you using to send mail?
/bin/mail
 
Old 03-05-2009, 07:58 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
So it's an ancient dead-rat machine?

Has it got mutt? sendmail?
 
Old 03-05-2009, 08:57 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by michaelvv View Post
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....
 
  


Reply



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
Mail server cannot compose mail to hotmail but can REPLY TO Niceman2005 Linux - Software 4 05-31-2007 12:50 AM
cannot reply to mail server cylarz Linux - Networking 1 05-08-2006 10:07 AM
Mail auto reply novis Linux - Software 2 05-08-2006 09:44 AM
'How to' guide to set up a Linux Web Server alortiz Linux - Newbie 3 09-13-2005 02:41 PM
set reply to address on mailx hamish Linux - Newbie 3 05-31-2005 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 PM.

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