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
from(1) 						      General Commands Manual							   from(1)

NAME
from - Shows whom mail messages are from SYNOPSIS
from [-s sender] [user] The from command prints out the mail header lines in your mailbox file. OPTIONS
Prints headers for mail sent by sender. Specifies a mail spool directory. Use this flag if you want to examine a mailbox in a directory other than /usr/spool/mail, which is the system default. DESCRIPTION
If user is specified, then user's mailbox is examined instead of your own. EXAMPLES
To display the message headings in your mailbox, enter: from The names of the senders and the message dates are displayed. To display the message headings for mail sent by a specific user, enter: from -s dale Displays only the message headings of the messages sent from user dale. To display the message headings in a specific user's mail- box, enter: from dawn The message headings from user dawn's mailbox are displayed, provided you have read permission for dawn's mailbox. FILES
User mailbox files. SEE ALSO
Commands: biff(1), mail(1), mailx(1) from(1)