Looks useful. Though sending credentials in clear text... at least and SSL option would be nice if we first add this patch. I must admit I'm not very familiar with SMTP auth, but could this implementation work over SSL? If so and since monit's support SSL, making this connection and auth over SSL should be easy.

On 30. jul. 2007, at 10.26, Thomas Lohmüller wrote:

Hi,

Last week I discovered your great product and installed it on a server. The only feature missing was smtp-auth. So I wrote this patch. I hope this will be integrated in monit...

Notes:
- Code does only support "PLAIN" mechanism which sends username and password unencrypted. - Does cleanly compile on release-4.9 (I was not able to compile current CVS even without this patch). - Integration in parser is very rudimental because I don't know lex & yacc (see below).
- Works-for-me...

How to use it:
set mailserver MAILSERVER USERNAME PASSWORD

It would be great if someone is able to cleanly integrate this features.

Thomas<smtp_auth.patch>


_______________________________________________
monit-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monit-dev

Reply via email to