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
comsat(8)						      System Manager's Manual							 comsat(8)

NAME
comsat - The biff server SYNOPSIS
comsat DESCRIPTION
The comsat server receives reports of incoming mail and notifies users who request this service. comsat is invoked by the inetd(8) daemon when it receives messages on a datagram port associated with the biff(1) service specification in /etc/services(4). The datagram contains a 1-line message of the form: user@mailbox-offset If the user specified is logged in and the associated terminal has the owner execute bit turned on (with biff y), offset is used as a seek offset into the file named in mailbox. The first 7 lines or 560 characters of the mes- sage are printed on the user's system. The message excludes mail header lines other than the From or Subject lines. The comsat command always tries to convert incoming mail messages from the mail interchange codeset to the user's application codeset. It determines the mail interchange code first by checking the mail message itself to see if it contains the required information. Otherwise, the system-wide default mail interchange code in the file /usr/lib/mail-codesets will be used. If no such system file exists, no codeset conversion will be performed. The determination of the user's application code in each terminal session is by one of the following methods. The application codeset defined in the user's Asian tty driver. The codeset name stored in the ~/.codesetdevname file, where devname is the name of the terminal device for the current terminal session. You can obtain the value of devname by issuing the tty command. For example, if the tty command returns /dev/ttys8, use ttys8 as the value for devname. The lang valued option defined in $HOME/.mailrc or /usr/share/lib/Mail.rc. FILES
Specifies the command path. Includes information about logged-in users and their associated ttys. File containing mailx subcommands to customize mailx for a specific user. File containing mailx subcommands to change mailx for all users on the system. RELATED INFORMATION
Commands: biff(1), inetd(8), mailx(1), mh(1) Files: services(4), inetd.conf(4), tty(7) delim off comsat(8)