Sorry for sending so many mails...
The attached patches are now against current cvs version. Everything
else stays the same.
2007/7/31, Thomas Lohmüller <address@hidden>:
Attached the final version of my patch. I made two patches to make it
easier for you to inspect them.
socket_cleanup.patch:
- extracts code to start ssl in own method named switch_to_ssl(..).
This removes redundancy and supplies funktion to initiate ssl later.
This is needed for STARTTLS.
- corrects small copy/paste-failure in comment
- no change in method signatures
smtp_auth-smtps-starttls.patch:
- Allows sending mails over smtps (ssl)
- Allows sending mails over smtp encrypted with starttls later
- Allows authenticating to mailserver use plain-method
- Now reads status from socket after "QUIT" is sent
- Integration in parser is missing. All values are hard-coded in
p.y:addmailserver(...)
Be free to change everything you don't like in this code. This patches
are agains monit-4.9. I'm still unable no compile HEAD.
Thomas
------------------------------------------------------------------------
_______________________________________________
monit-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monit-dev