Yes, SMTP-auth over SMTPS works!

I changed the fourth argument of  "S->socket= socket_new(...)" in
sendmail.c:open_server to "TRUE" and changed the port to 465 (default
smtps-port). That's all.

Once more only integration in parser missing ;-). I'll try to read some
documentation about lexx/yacc in the next few days. But it would be great if
someone else can do it for now.


2007/7/31, Thomas Lohmüller <[EMAIL PROTECTED]>:
>
> We use smtp-auth more as spam-blocker as for authentification. Everyone
> uses the same credentials. So clear-text is not a problem.
>
> SMTP over SSL (SMTPS) works exactly the same as SMTP. So this patch should
> work as is. I have no idea on how to add ssl-support to SMTP. As I know
> SMTP/TLS is more common than SMTPS but would be much harder to implement
> than SMTPS.
>
> I'll try to use the existing SSL-code to add SMTPS-support.
>
> 2007/7/30, Jan-Henrik Haukeland <[EMAIL PROTECTED]>:
> >
> > 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
> >
>
>
_______________________________________________
monit-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monit-dev

Reply via email to