|
From: | Jan-Henrik Haukeland |
Subject: | Re: Patch: Add SMTP_AUTH-support |
Date: | Tue, 31 Jul 2007 16:40:54 +0200 |
On 31. jul. 2007, at 15.35, Thomas Lohmüller wrote:
SET MAILSERVER {host name [PORT port]|ip-address [PORT port] [USING ssl|tls [CHECKSUM checksum]]}+ [with TIMEOUT X SECONDS]
Looks good! We'll await the patch then, though no need to read up on yacc/lex I can fix that. (See if you can use monits base64 encoding, though yours did look better, or fix monits base64 implementation :)
It's important to distinguish SSL and TLS. With SSL you use port 465 and start ssl before any data is transmitted. With TLS you use the default SMTP-port 25 and initiate SSL later as shown above.
The monit socket sets SSL_VERSION_AUTO so SSL version or TLS should be transparent and automatically setup by OpenSSL during the handshake. So no need to distinguish between ssl|tls, at least that is the theory.
[Prev in Thread] | Current Thread | [Next in Thread] |