mirror of
https://github.com/git/git.git
synced 2024-11-28 20:44:04 +08:00
docs: git-send-email: difference between ssl and tls smtp-encryption
New explanation for the difference between these values. It's hard to understand what they do based only on the names. New description of used default ports. Signed-off-by: Sotir Danailov <sndanailov@wired4ever.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3dcec76d9d
commit
a2634646eb
@ -178,9 +178,18 @@ Sending
|
|||||||
for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH.
|
for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH.
|
||||||
|
|
||||||
--smtp-encryption=<encryption>::
|
--smtp-encryption=<encryption>::
|
||||||
Specify the encryption to use, either 'ssl' or 'tls'. Any other
|
Specify in what way encrypting begins for the SMTP connection.
|
||||||
value reverts to plain SMTP. Default is the value of
|
Valid values are 'ssl' and 'tls'. Any other value reverts to plain
|
||||||
`sendemail.smtpEncryption`.
|
(unencrypted) SMTP, which defaults to port 25.
|
||||||
|
Despite the names, both values will use the same newer version of TLS,
|
||||||
|
but for historic reasons have these names. 'ssl' refers to "implicit"
|
||||||
|
encryption (sometimes called SMTPS), that uses port 465 by default.
|
||||||
|
'tls' refers to "explicit" encryption (often known as STARTTLS),
|
||||||
|
that uses port 25 by default. Other ports might be used by the SMTP
|
||||||
|
server, which are not the default. Commonly found alternative port for
|
||||||
|
'tls' and unencrypted is 587. You need to check your provider's
|
||||||
|
documentation or your server configuration to make sure
|
||||||
|
for your own case. Default is the value of `sendemail.smtpEncryption`.
|
||||||
|
|
||||||
--smtp-domain=<FQDN>::
|
--smtp-domain=<FQDN>::
|
||||||
Specifies the Fully Qualified Domain Name (FQDN) used in the
|
Specifies the Fully Qualified Domain Name (FQDN) used in the
|
||||||
|
Loading…
Reference in New Issue
Block a user