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
LEARN ABOUT CENTOS
script-email
SCRIPT-EMAIL(8) System Administration Commands SCRIPT-EMAIL(8)
NAME
script-email - Amanda script to send email notifications
DESCRIPTION
script-email is an Amanda script implementing the Script API. It should not be run by users directly. It sends a notification email to the
addresses specified in the MAILTO property.
PROPERTIES
This section lists the properties that control script-email's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
MAILTO
List of email addresses that will receive an email on command execution. It is a multi-valued property:
property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"
EXAMPLE
In this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to
the email system unchanged. The script is then attached to a dumptype, which can then be specified for any DLEs which require
notification.
define script-tool pre-email {
comment "email me before this DLE is backed up"
plugin "script-email"
execute-on pre-dle-backup
execute-where server
property "mailto" "amanda"
}
define dumptype user-tar-email {
user-tar
script "pre-email"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 SCRIPT-EMAIL(8)