Ho do I masquerade the "user@user.local" address in mail/mailx?


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Ho do I masquerade the "user@user.local" address in mail/mailx?
# 1  
Old 04-18-2009
Ho do I masquerade the "user@user.local" address in mail/mailx?

Hi,

I'm brand new here and looking for a solution:

I'm using mail or mailx. The default reply address is «myshortusername@mylongusername.local» which makes absolutely no sense for anybody receiving my emails.

But how do I change it? There seem to be many solutions but none for Mac OS X. I'm using 10.5.

Where are the files that I need to change? What do I need to add or change?

Thanks a lot for your help!

Gary
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailx is adding a random "!" in the middle of my mail

I made a script that sends an email with one long line, line looks like this. UY453;HJ345;BM342;JH526;HJ245;HJ234;NM235;........JK453;SD245; The mail has about 200 of those IDs in one line, each ID is separtated by ";". The problem is that there is a random exclemation mark and it... (3 Replies)
Discussion started by: ajetangay
3 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. UNIX for Dummies Questions & Answers

Finding e-mail address using "find" command

any useful command to find and e-mail address hardcoded into a cfg file on an specific server? I already tried with:: find . -type f | xargs grep -l "nobody@foundstone.com" Thanks!! (1 Reply)
Discussion started by: JLo5621
1 Replies

4. UNIX for Dummies Questions & Answers

What is the significance of sh -s in ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh?

Please can you help me understand the significance of providing arguments under sh -s in > ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies

5. Shell Programming and Scripting

If cmd in in "A/user/bin A/bin A/user/sbin" but not "B/user/bin B/bin B/user/sbin" directory print t

there are two directories A and B if cmd in in "A/user/bin A/bin A/user/sbin" but not "B/user/bin B/bin B/user/sbin" directory print them (1 Reply)
Discussion started by: yanglei_fage
1 Replies

6. UNIX for Advanced & Expert Users

[SOLVED] Root mail going to user "mail" instead of root

I running Linux Mint Debian Edition tracking testing and have started a cron job that will send something to the root mailbox. Mint has heirloom and exim4 installed. However, mail was getting nothing. I realized that in /etc/aliases, there was a line root: mintSince you can't log into the mint... (0 Replies)
Discussion started by: Narnie
0 Replies

7. Shell Programming and Scripting

Using mailx to send in the future? Also change "from" address?

Hey, I've got a script using mailx to send an email to the user, but i'd like it if I could have it send the email sometime in the future, not right away. And by future, i mean like 1 minute in the future. And I don't want it to halt the script in anyway. Perhaps there's a way to have it... (3 Replies)
Discussion started by: paqman
3 Replies

8. HP-UX

use an alias for "from" address in mailx

Hi, I am sending an attchement using the mailx command in HP-UX, I am using the following command, uuencode test.csv test.csv | mailx -r "Healthy Planet" -m -s "$2" someone@somewhere.com when I do this, I am receiveing the mail and in the from address field, its displayed in the... (1 Reply)
Discussion started by: muralikancherla
1 Replies

9. Solaris

sendmail "root... User address required." error

I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10. When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message root... User address required. Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Discussion started by: csgonan
10 Replies

10. Shell Programming and Scripting

communicating wth another user aside from "wall" and "write"

Hi, Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies
Login or Register to Ask a Question
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)