Mercurial > hg
view tests/test-install.t @ 13201:f05250572467
smtp: fix for server doesn't support starttls extension
Currently we only support enabling TLS by using SMTP STARTTLS extension. But
not all the servers support it.
With this patch, user can choose which way to enable TLS:
* Default:
tls = none
port = 25
* To use STARTTLS:
tls = starttls
port = 465
* To use SMTP over SSL:
tls = smtps
port = 465
To keep backward compatibility, when tls = true, we use STARTTLS to enable TLS.
Signed-off-by: Zhigang Wang <w1z2g3@gmail.com>
author | Zhigang Wang <zhigang.x.wang@oracle.com> |
---|---|
date | Mon, 20 Dec 2010 16:56:54 +0800 |
parents | 97ffc68f71d3 |
children | 85d74f6babf6 |
line wrap: on
line source
hg debuginstall $ hg debuginstall Checking encoding (ascii)... Checking installed modules (*/mercurial)... (glob) Checking templates... Checking patch... Checking commit editor... Checking username... No problems detected hg debuginstall with no username $ HGUSER= hg debuginstall Checking encoding (ascii)... Checking installed modules (*/mercurial)... (glob) Checking templates... Checking patch... Checking commit editor... Checking username... no username supplied (see "hg help config") (specify a username in your configuration file) 1 problems detected, please check your install! [1]