10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
My company has an email user group email address name that has 35 characters in front of the @ symbol where two of them are dashes. For some reason the mail command fails to send email to this address when I invoke it from the Linux command line. I don't understand the reason for the failure. Below... (5 Replies)
Discussion started by: Phil44
5 Replies
2. Red Hat
Hi,
I am trying to send a mail using "mail" command in unix. I wanted to give sender name and sender address. I tried different options ,but still it shows only mail address(No name).
mail -s "Alert mail : Nothing running !!!" $email -- -F"Mail Alert" -fno-reply@alert.com
But I am getting... (4 Replies)
Discussion started by: jaggy
4 Replies
3. UNIX for Advanced & Expert Users
Hi expert
I use
mail -s "hello" bruce@sohu.com <kernel-img.conf
send mail, it display the sender is lyang001@lyang001-OptiPlex-9010.corp.ad..com
How can I change the sender to yanglei.fage@gmail.com to default ? (1 Reply)
Discussion started by: yanglei_fage
1 Replies
4. Shell Programming and Scripting
Can any one help me in this ???
How to change sender's name or email address in Mutt command??? (4 Replies)
Discussion started by: sarathi
4 Replies
5. Shell Programming and Scripting
Hi All,
I want to change the email address of the sender to some alias
for eg:
FROM:noreplyecommerce@test.com needs to be changes to TEST
Please help me. (3 Replies)
Discussion started by: sithara
3 Replies
6. Shell Programming and Scripting
Hey,
after I check the man page for mail and mailx, I did not find the -r option. But, I have to change the email sender, how can I do it?
Send Mode
mailx address...
Receive Mode
mailx -e
mailx
mailx -f
... (0 Replies)
Discussion started by: freelong
0 Replies
7. Shell Programming and Scripting
Hi All,
I have a ksh script, in which it sends mail successfully but from root id(root@system.com). I want it to be sent as customid@system.com.
I verified man pages of mail, and found '-u userid' option. But it is failing.
code snippet below:
mail -s "subject" -u $customid... (7 Replies)
Discussion started by: Arunprasad
7 Replies
8. Shell Programming and Scripting
I am sending email with attachment using mail and uuencode command.
Ex:
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "applmgr@rigelapp01.us.dell.com". I want to change this email address into... (1 Reply)
Discussion started by: balajiora
1 Replies
9. Shell Programming and Scripting
Hi guys,
I have a question about the returning message of the mailx command.
if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message?
Thanks... (3 Replies)
Discussion started by: sheenshine
3 Replies
10. AIX
When sending emails to the outside world, aix present itself as d_prod@production1.pdc.itercom.org.
This is causing some issue with our e-mail server.
So we need to change the name to d_prod@itercom.org...
Does any one know how this can be accomplished?
Thank you (3 Replies)
Discussion started by: cchiang12
3 Replies
vacation(1) General Commands Manual vacation(1)
NAME
vacation - Informs senders of mail that recipient is absent
SYNOPSIS
vacation -I
The vacation command returns a message to the sender of a mail message, saying that the recipient is on vacation or otherwise absent.
OPTIONS
Initializes the $HOME/.vacation.pag and $HOME/.vacation.dir files. Execute this option before you modify your $HOME/.forward file.
DESCRIPTION
The vacation command accepts standard input and attempts to send a vacation message to the user specified in that input, which should be a
mail message. The vacation command is usually invoked in your $HOME/.forward file, which is used to forward your mail to another username.
When you want vacation messages to be sent to users who send you mail, enter the following in your $HOME/.forward file:
user, "|vacation user"
Replace user by your username. This allows mail sent to you to be both received by you and piped to the vacation command; vacation reads
the mail message, determines the sender, and sends a reply. The sender receives a vacation message, and the original mail is waiting in
your mailbox when you return.
When vacation is invoked without the -I option, as in the file, it reads the first line from the standard input for a From line to deter-
mine the sender. If this is not present, an error message is produced. (All properly formatted incoming mail should include a From line.)
No vacation message is sent if the From header line indicates that the message is from Postmaster; from MAILER-DAEMON; if the initial From
line includes the string -REQUEST@; or if a Precedence: bulk or Precedence: junk line is included in the header.
You must initialize vacation for your username by issuing the command vacation -I before you can use the vacation command.
The vacation command expects a $HOME/.vacation.msg file containing a message to be sent back to each sender. The file should be an entire
message, including any desired headers, such as From or Subject. This message will be sent only once a week to each unique message sender.
(If this file does not exist, vacation uses /usr/share/lib/vacation.def, a system-wide default vacation message, if it exists.)
The names of people who have sent you messages are kept in the files $HOME/.vacation.pag and $HOME/.vacation.dir. These files are created
when you initialize vacation for your username with vacation -I.
EXAMPLES
If your username is myra and you want to send a message once a week to each person who has sent you mail, initialize vacation by entering:
vacation -I
Next, add the following line to your $HOME/.forward file (create this file if it does not exist):
myra, "|vacation myra"
If you want to send a vacation message other than the system default message in /usr/share/lib/vacation.def, create the file in your home
directory and enter the message in it. For example:
From: myra@k.table (Myra Louise Minter) Subject: I am on vacation. Delivered-By-the-Graces-Of: the Vacation program
I am on vacation until October 1. If you have something urgent, please telephone Lucy or Sue.
-- Myra
FILES
System-wide default vacation message. Contains address to which mail is forwarded. Contains the names of people who have sent you mail
while the vacation command was being used. Contains the names of people who have sent you mail while the vacation command was being used.
Contains your personal vacation message.
SEE ALSO
Commands: mail(1), mailx(1), sendmail(8)
vacation(1)