Him On Fri, Dec 12, 2008 at 12:29:31PM +0000, Todd, Conor (PDX) wrote: > 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.
Many thanks. Could you please send a patch containing your change? Cheers, Dejan > > Thanks! > > - Conor > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
