LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 01:45 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,992

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
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, 05: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, 06:21 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
And what are you using to send mail?
 
Old 03-05-2009, 08: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, 08:58 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

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

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

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
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


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


All times are GMT -5. The time now is 03:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration