09-21-2015
mailx -r new_from_name does what you want. It does not change the actual source information of the email in the header information. Just what users see on the other end. We have phishing detection software that will flag incoming email with aliases like this, I believe.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I'm on UNIX -Solaris...
I'm trying to send mail usin Mailx..... The script is working fine and attachments are also being sent....
BUT, when I receive the mail,, the sender address shown is the unix login id name.... Any way by which I could manipulate this in my script command or any... (1 Reply)
Discussion started by: vasan_srini
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Is there anyway to change the from address in the email sent using mailx command?
I have the following command:
mailx -s $subject xxx@xxxx.com < $mail_mesg
This defaults to the following format "acctname@usserver.companyname.com" as the from address in the email. Problem is this... (5 Replies)
Discussion started by: radhika
5 Replies
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
Hi all
I want to send a mailx in shell script setting the font and style
eg : message should go in Arial style ..
How can these be done?
Thanks and Regards
Navatha (3 Replies)
Discussion started by: Navatha
3 Replies
5. Shell Programming and Scripting
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
6. OS X (Apple)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies
7. Shell Programming and Scripting
Hi,
I need to configure customized from address in mailx command.
Can you pls tell me the option for configuring from address.
Thanks
Latika (9 Replies)
Discussion started by: latika
9 Replies
8. UNIX for Dummies Questions & Answers
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. Shell Programming and Scripting
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
10. Shell Programming and Scripting
Hello All,
I have a requirement to generate report and send them to a distribution list.
The problem I am facing is when sending out the email using mailx.
The email address (DL) we have is starting with # and because of this it's not recognising the email and throwing the below error.
... (2 Replies)
Discussion started by: Pradeep_Raj
2 Replies
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)