Just glancing over this article I found online:
http://serverfault.com/questions/73004/ ... mails-from
Has anyone had any success doing this? I have a requirement to change the "From" address for notifications for certain sites to get them into a CRM properly.
I've tried a few things so far by trying to run the commands manually from CLI:
Code: Select all
/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTNAME$ is $HOSTSTATE$ **" [email protected] -- -r "[email protected]"
/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTNAME$ is $HOSTSTATE$ **" [email protected] -- -r [email protected]
/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTNAME$ is $HOSTSTATE$ **" [email protected] -- [email protected]
Any ideas?