We are moving scripts from a Solaris 9 server to a Linux server. We are having a problem with certain phone providers not sending/receiving emails or pages unless a return address is sent. This worked on Solaris by executing:
mailx -r email@example.com -s "ORA Error : `uname -n` : $ORACLE_SID" orapage > /dev/null < $l_log
On Linux we are using Postfix and it has been configured to look like sendmail. Also, this code is inside a ksh script running in a bash environment.
Is there a simple way for me to get this to work on Linux?
In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!