diff mercurial/help/config.txt @ 19050:601c1e226889

smtp: use 465 as default port for SMTPS Before this patch, port 25 (wellknown port of SMTP) is used as default port, even if "[smtp] tls" is configured as "smtps". This patch uses port 465 (wellknown port of SMTPS) as default port, if "[smtp] tls" is configured as "smtps".
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 19 Apr 2013 01:26:23 +0900
parents c3b920980f22
children 9d88916fb56f
line wrap: on
line diff
--- a/mercurial/help/config.txt	Thu Feb 21 21:05:06 2013 +0000
+++ b/mercurial/help/config.txt	Fri Apr 19 01:26:23 2013 +0900
@@ -1046,7 +1046,8 @@
     Host name of mail server, e.g. "mail.example.com".
 
 ``port``
-    Optional. Port to connect to on mail server. Default: 25.
+    Optional. Port to connect to on mail server. Default: 465 (if
+    ``tls`` is smtps) or 25 (otherwise).
 
 ``tls``
     Optional. Method to enable TLS when connecting to mail server: starttls,