Skip to content

Commit 2da846e

Browse files
wjlgitster
authored andcommitted
Documentation: git-send-email: correct statement about standard ports
The current documentation states that servers typically listen on port 465 and calls this "ssmtp". While it's true that many mail servers use port 465 for SSL smtp, this is non-standard, and hails from the days before smtp and submission TLS support, that arrived in RFC2487 and RFC3207. Port 465 is actually assigned by IANA for unrelated purposes, and is mostly still used by mail servers today only to support Outlook Express. In any case, this patch helps the documentation better reflect both standards and reality, while still helpfully mentioning ports numbers that a user may wish to specify. Signed-off-by: Wesley J. Landaker <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a4782b3 commit 2da846e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-send-email.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ user is prompted for a password while the input is masked for privacy.
142142

143143
--smtp-server-port=<port>::
144144
Specifies a port different from the default port (SMTP
145-
servers typically listen to smtp port 25 and ssmtp port
146-
465); symbolic port names (e.g. "submission" instead of 587)
145+
servers typically listen to smtp port 25, but may also listen to
146+
submission port 587, or the common SSL smtp port 465);
147+
symbolic port names (e.g. "submission" instead of 587)
147148
are also accepted. The port can also be set with the
148149
'sendemail.smtpserverport' configuration variable.
149150

0 commit comments

Comments
 (0)