LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

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

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH] ldirectord: Allow sending email via external SMTP server
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Caleb Anthony <caleb.anthony@xxxxxxxxx>
Date: Thu, 7 May 2009 14:09:34 -0600
Attached is a new patch. This one adds two new subs:
ld_emailalert_net_smtp and ld_emailalert_mail_send. If an SMTP server
is set in ldirectord.cf, then ld_emailalert_net_smtp will be called
and the email will be sent via SMTP. If an SMTP server is not set in
ldirectord.cf then ld_emailalert_mail_send will be called and the
email will be sent via the Mail::Send methods.

Let me know what you think.

Caleb

On Tue, May 5, 2009 at 6:47 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Fri, May 01, 2009 at 01:42:06PM -0600, Caleb Anthony wrote:
>> I think that's a good idea, I'll see what I can do to get a patch that
>> adds that functionality.
>
> Great, thanks.
>
> --
> Simon Horman
>  VA Linux Systems Japan K.K. Satellite Lab in Sydney, Australia
>  H: www.vergenet.net/~horms/            W: www.valinux.co.jp/en
>
>

Attachment: ldirectord.patch
Description: Binary data

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