mailx Issue with -r flag


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mailx Issue with -r flag
# 1  
Old 01-21-2008
Network mailx Issue with -r flag

I've used "mailx -r return@address" before many times for automated scripts, but when I try to use it on FreeBSD, I get "mailx: illegal option -- r". Is there another version of mailx I should be using to get this to work? The full command I'm trying to run is:

mailx -s "Load Results $(date +%Y%m%d)" -r return@address to@address < logfile
# 2  
Old 01-22-2008
I'm looking at FreeBSD 6.0, mailx doesn't have such option, for return address, nor anything similar.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailx Email Issue

Hello, I am facing an issue with email in Linux. I am using mailx command to send email. When I give invalid domain address then it is taking both sender and recipient as sender email and trying to send email. Below is my command echo -e "${EMAIL_TEXT}" | mailx -v -s "${SUBJECT}" -r... (5 Replies)
Discussion started by: yuvi
5 Replies

2. Shell Programming and Scripting

Issue with Mailx command

Hi, I am trying to send an email using mailx command in Linux terminal. Though I give invalid address it is giving response as Recipient ok and sent message. My command is here. Not sure what is wrong. Can anyone please assist? echo -e 'New User'| mailx -v -s 'New User' y@gggg.com ... (1 Reply)
Discussion started by: yuvi
1 Replies

3. Shell Programming and Scripting

Mailx command issue

Hi All, Im facing a problem with sending tar file via mailx command. Your help would be much appreciated. Im trying to tar a set of CSV files in a folder using the below command tar cvf Report.tar.gz *_03172016.CSV and sending this tar file using mailx command as mentioned below ... (2 Replies)
Discussion started by: anijan
2 Replies

4. Shell Programming and Scripting

Need help in an issue related to mailx

Hello, I have a file temp.txt with the below contents : Sep 9 03:04:51 adcsdp01 MAPDR2_00: Unable to open trace file adpstartarv.log. (Error 110 Resource temporarily unavailable) Sep 9 03:05:35 adcsdp01 MAPDR2_00: SAP Service ADPMR2_00 successfully started. Sep 9 03:04:51 adcsdp01... (7 Replies)
Discussion started by: rahul2662
7 Replies

5. UNIX for Dummies Questions & Answers

Is "stat: illegal option -- -" an issue with hyphenated filename or flag problem?

Hi. I'm trying to install VMWare Workstation to run a virtual machine on my Mac OS, but running the bundle from bash(xterm) sh VMware-workstation-Full-11.0.0-2305329.x86_64.bundle (as suggested in install guide) comes up with error:stat: illegal option -- - usage: stat Digging... (5 Replies)
Discussion started by: defeated
5 Replies

6. Shell Programming and Scripting

Mailx issue

Hi guys I am trying to send an email using mailx function and want the message body to appear on different lines. My code is : WT=`echo "Tapes are : $x Holder are : $y" ` echo $WT|mailx -s "Alert" xyx@abc.com I want to receive the email like this: Tapes are :2 Holders are... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies

7. AIX

Flag issue

Hi all, We dont have access to aix source code and i have a doubt. The flag SC_NO_RESERVE, is it got to do anything with the failover? If the flag is set the paths are going to failed state. If flag is not set everything comes up fine after failover. Thanks in advance for helping ... (2 Replies)
Discussion started by: gnakul
2 Replies

8. UNIX for Dummies Questions & Answers

install command flag Linux/Unix issue

Hi all, I was trying to install from source USB_ModeSwitch on my Mac. I have always had success with the basic ./configure, make, make install commands in terminal so don't know how, why or what. The issue I came across is that the makefile.conf uses the -D flag while installing and on UNIX... (0 Replies)
Discussion started by: jprokos
0 Replies

9. Shell Programming and Scripting

mailx issue -

Hi, I am sending mail inside my script based on various conditions. Here is the problem, when there are more than one condion at a time, the mailx adds the messages into one ( at the time of the second mail) example: inner_fn () { if ; then echo "inner function mail" | mailx... (3 Replies)
Discussion started by: shellwell
3 Replies

10. Solaris

CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris

Hi, We are porting our application from 32bit to 64bit. We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings. But we are not getting any porting warninings WE are using CC 5.5 compiler on sparc-solaris m/c. Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
Login or Register to Ask a Question