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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From what I understand about Mail::Mailer (maybe incorrectly!), in
order to use the SMTP functionality, you have to be running an SMTP
server on the same server as ldirectord. That isn't an option in our
organization, so I had to add the ability to use an external SMTP
server.

Am I wrong about Mail::Mailer? Can it use an SMTP server other than
one on the server that ldirectord is also running on?

Thanks.

On Tue, Apr 28, 2009 at 12:26 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Mon, Apr 27, 2009 at 01:54:07PM -0600, Caleb Anthony wrote:
>> 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.
>
> Hi Caleb,
>
> I'm a little confused about how this is different to
> Using the "smtp" type for Mail::Mailer? Could you explain
> a little about why that wasn't useful for your set-up?
>
> 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
>
>
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Devel]     [Linux NFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [X.Org]

  Powered by Linux