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.
_______________________________________________
monit-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monit-dev