LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

[PATCH] ldirectord: Allow sending email via external SMTP server

To: lvs-devel@xxxxxxxxxxxxxxx
Subject: [PATCH] ldirectord: Allow sending email via external SMTP server
Cc: horms@xxxxxxxxxxxx
From: Caleb Anthony <caleb.anthony@xxxxxxxxx>
Date: Mon, 27 Apr 2009 13:54:07 -0600
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

Attachment: ldirectord.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>