Hello all,
Attached is a patch to ldirectord (version 1.186-ha-2.1.4) that adds a
new configuration directive "smtp". This directive allows ldirectord
to send notification emails via an external SMTP server instead of
using the built-in Mail::Mailer methods. I wrote this patch because
none of the methods in Mail::Mailer were convenient for use in our
environment. However, we do run an enterprise wide SMTP relay for
internal notifications, such as those generated by ldirectord. I would
imagine many other organizations are in the same situation we are, and
this would be a good addition to ldirectord.
Feel free to add/change/remove anything that doesn't seem right with the code.
Also, let me know if should post this to the Linux-HA development
mailing list instead of here.
Thanks.
Caleb Anthony
ldirectord.patch
Description: Binary data
|