[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: Add smtp-auth, smtps, starttls over smtp
From: |
Thomas Lohmüller |
Subject: |
Patch: Add smtp-auth, smtps, starttls over smtp |
Date: |
Tue, 31 Jul 2007 23:24:44 +0200 |
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
socket_cleanup.patch
Description: Binary data
smtp_auth-smtps-starttls.patch
Description: Binary data
- Patch: Add smtp-auth, smtps, starttls over smtp,
Thomas Lohmüller <=