Hi everyone. I've modified the MailTo OCF script to accept a 'sender' attribute, such that, if given, the 'From' field on the email to be sent is set to whatever you set the sender attribute to.
This was necessary for me because my nodes were putting invalid domains on the sender address ([email protected]<mailto:[email protected]>), even though each node has a valid hostname. Additionally, for me, it's more useful to have emails appear to come from the DNS address which presents the clustered service which is generating the message instead of an arbitrary cluster node (which appears in the title of the email anyway). I've attached the updated MailTo script for your enjoyment. BTW, the original came from a Heartbeat-2.1.4 install. Thanks! - Conor
MailTo
Description: MailTo
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
