LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mail Command (https://www.linuxquestions.org/questions/linux-newbie-8/mail-command-4175510802/)

T-Dub116 07-11-2014 01:34 PM

Mail Command
 
When I run this command:

mail myemailaddress@whatever.com -s "Backup Report" < /usr/lib/edge/lists/simple_job/edge_summary.txt


How come on some of my customer's servers it will get an email from:

root [root@localhost.localdomain]
with the subject "Backup Report"
and the file in the Body

But on other's I do not get an email at all, how can I get it so this will work on all the servers I deal with?


Thank you!



All Servers are Redhat (some are different versions though)

szboardstretcher 07-11-2014 01:42 PM

Do all of them have postfix, exim4 or sendmail installed and configured?

T-Dub116 07-11-2014 02:31 PM

Quote:

Originally Posted by szboardstretcher (Post 5202421)
Do all of them have postfix, exim4 or sendmail installed and configured?


Sendmail is installed and configured.


All times are GMT -5. The time now is 09:25 PM.