mail not going with -r option
by james000 from LinuxQuestions.org on (#57EJF)
Hi,
One of the scripts in RedHat 6.5 is supposed to send emails to the user's Outlook. As per user it used to work a few days day back but not working now:
Code:mail -s "test email" -r tema-group@xxyyxxyy.com -a /etc/hosts john.t@xxyyxxyy.comBut if I don't use "-r tema-group@xxyyxxyy.com" then the mail is being delivered to my Outlook Inbox. Seems like -r option is not accepting by mail command. I couldn't find online as well, what is this option used for. Can somebody give me some idea, why -r is used for?
Thanks


One of the scripts in RedHat 6.5 is supposed to send emails to the user's Outlook. As per user it used to work a few days day back but not working now:
Code:mail -s "test email" -r tema-group@xxyyxxyy.com -a /etc/hosts john.t@xxyyxxyy.comBut if I don't use "-r tema-group@xxyyxxyy.com" then the mail is being delivered to my Outlook Inbox. Seems like -r option is not accepting by mail command. I couldn't find online as well, what is this option used for. Can somebody give me some idea, why -r is used for?
Thanks