Sponsored Content
Top Forums Shell Programming and Scripting configure from address in mailx command Post 302550229 by latika on Thursday 25th of August 2011 05:15:13 AM
Old 08-25-2011
i'm using linux - bash shell,
in mailx man page, i couldn't seen the -r option itself.

can you please tell me any other option is there to resolve it.

thanks in advance
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to configure mailx command??

Hi, {SunOS} I have this mailx -s command in my script and when the script is run,it throws me this message The flags you gave are used only when sending mail. Usage:mailx -eiIUdFntBNHvV!~ -T FILE -u USER -h hops -r address -s SUBJECT -f FILE users. Can you help me how i can send an... (9 Replies)
Discussion started by: kumarsaravana_s
9 Replies

2. Shell Programming and Scripting

change from address in mailx

Hi, i am sending mails regulary for updation of data. The from addresses dispaly like POP.RECH@skk182.com i want display like oracle@skk182.com can u help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies

3. Shell Programming and Scripting

how to know if the mailx command really sends the mail to the email address?

Hi guys, I have a question about the returning message of the mailx command. if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message? Thanks... (3 Replies)
Discussion started by: sheenshine
3 Replies

4. UNIX for Dummies Questions & Answers

How to verify email address using mailx command ?

Is there any way i can verify the email address (before sending the mail) using the mailx command ? I know that sendmail -bv email@address.com can do it but there is a compatibility issues with the version of Unix we have. So mailx is the only command we can used at this point. Any... (1 Reply)
Discussion started by: rak007
1 Replies

5. Solaris

Configure mailx or sendmail

hi, I would like to configure mailx or sendmail to send out some mails to some users. I tried searching online for the configuration but it was kinda confusing. I thought that posting here might get someone to work with me step by step I tried sending out mail but i did not receive in my... (4 Replies)
Discussion started by: cghcgh
4 Replies

6. Solaris

How to Configure a Static Ip Address

Hello friend, I am new in UNIX, but I want to learn a lot Well I have a problem to try to configure my PC with a static IP Address (IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1) (DNS 200.48.225.130 and 200.48.225.146). where are the file that I must be change? The SO is Sun Solaris... (15 Replies)
Discussion started by: andresguillen
15 Replies

7. Solaris

to configure ip address

i have installed solaris 10 on my vmware..please tell me how i can configure ip addres and other things so that i can use internet (2 Replies)
Discussion started by: shekhar_4_u
2 Replies

8. UNIX for Dummies Questions & Answers

Customizing from address in mailx command

Currently I am using mailx command for sending mails. But the mail is sent as from userid@servername by default. Is it possible to customise the from mail address in mailx command? Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies

9. Solaris

Configure mailx in Solaris 10

Hello, We are using exchange server in our environment. I need to configure mailx to send email from Solaris box to one mail I'd which is on exchange server. I know ip of exchange server.. Let me know where should I configure that ip to do the needful? (2 Replies)
Discussion started by: sureshsun
2 Replies

10. Shell Programming and Scripting

Mailx command to include sender address

Hi, I m using mailx to send email. I am using sender=server name(display name) echo "body" | mailx -s "subject" -b "bcc address" "to address" -- -f "$sender". I should get email with sender as only display name. In stead i am getting displayname@server address. Please suggest Use code... (1 Reply)
Discussion started by: usrrenny
1 Replies
mail_intro(7)						 Miscellaneous Information Manual					     mail_intro(7)

NAME
mail_intro - Introductory information on the Tru64 UNIX mail system DESCRIPTION
The Tru64 UNIX mail system enables you to exchange mail with other users on your system, as well as with other systems connected to your local network and with users on other networks (provided your system and network are connected to other networks). Mail System Concepts Mail systems consist of the following components: User agent - The user agent provides the interface through which you interact with the mail system. Generally, the user interface enables you to create, send, receive, read, save, and manage your mail messages. Tru64 UNIX provides the following user agents: CDE's Mailer - For further information, see the Common Desktop Environment: User's Guide . Mail or mailx - For further information, see the Command and Shell User's Guide . The Rand Message Handling program (MH) - For further information, see the mh(1) and xmh(1X) reference pages. Transport agent - The transport agent provides an interface between the user agents and the delivery agents. The sendmail command is a transfer agent. Delivery agent - The delivery agent provides the mechanism for delivering the mail messages to end users, systems, and networks. The binmail and deliver commands are delivery agents for standard mail and IMAP mail, respectively. In Tru64 UNIX, the sendmail program acts as both the transport and delivery agent. It does so by implementing the Simple Mail Transfer Pro- tocol (SMTP), which is the specification for the Internet's delivery agent. Initially standards did not exist for mail addresses and computer networks. Many different address formats and network protocols exist. Mail programs must interact with different network protocols, as well as recognize and reformat different mail address formats. Fortu- nately, these difficulties were recognized and standards, such as the Standard for the Format of ARPA Internet Text Messages (RFC 822) and The Domain Naming Convention for Internet User Applications (RFC 819), emerged. A mail program still must recognize addresses in various formats and communicate with different network protocols. The sendmail program addresses these issues through the use of the sendmail.cf configuration file. The Sendmail Configuration File The sendmail.cf configuration file provides the sendmail program with the information to perform the following tasks: Choose delivery agents Use address rewriting rules Define mail header information Perform some routing When it starts, the sendmail program reads the sendmail.cf configuration file. The information in the sendmail.cf configuration file enables sendmail to rewrite the addresses of mail it receives into the address form expected by the mail delivery agent. It also enables sendmail to set parameters and arguments to the mail delivery program. The configuration file contains information that is used for the following functions: Define message precedence for mail delivery Define administrative IDs to override the sender's address Define message headings Define the mail program to use Set options used by the sendmail command The default Tru64 UNIX configuration file (located in /var/adm/sendmail/sendmail.cf) is adequate for most standalone systems. However, if you plan to connect your system to a network, you will have to modify the sendmail.cf file. Tru64 UNIX provides the mailconfig and mailsetup utilities, which you can use to create mail configuration files. If you prefer to manipu- late the configuration file manually, you should use the m4 macros provided for this purpose. (See the sendmail.m4 reference page.) For more information on configuring mail, see the Network Administration manual. RELATED INFORMATION
Commands: binmail(1), mailconfig(8), mailsetup(8), mailx(1), sendmail(8), sendmail.m4(8) Files: sendmail.cf(4) Network Administration Standard for the Format of ARPA Internet Text Messages (RFC 822) The Domain Naming Convention for Internet User Applications (RFC 819) UNIX System Administration Handbook, Englewood Cliffs, N.J.: Prentice Hall, Inc., 1989. delim off mail_intro(7)
All times are GMT -4. The time now is 05:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy