From: Bagas Sanjaya <bagasdotme@gmail.com>
To: git@vger.kernel.org
Cc: git@matthieu-moy.fr, tom.russello@grenoble-inp.org,
Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
Junio C Hamano <gitster@pobox.com>,
Bagas Sanjaya <bagasdotme@gmail.com>
Subject: [PATCH] send-email: Describe 'ssl' and 'tls' in --smtp-encryption
Date: Sat, 14 Aug 2021 16:20:36 +0700 [thread overview]
Message-ID: <20210814092035.42272-1-bagasdotme@gmail.com> (raw)
The --smtp-encryption option accepts either 'ssl' or 'tls' value to
enable TLS connection. The latter can cause confusion (for example [1]),
because it means using STARTTLS, whereas users wanting SMTPS should set
to the former instead.
Describe these values, together with difference between SMTPS and
STARTTLS.
[1]:
https://lore.kernel.org/git/f7ee6a03-74f2-152e-5158-4103c744595a@benaaron.dev/T/#t
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
Documentation/git-send-email.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 3db4eab4ba..1207a6a8eb 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -176,8 +176,12 @@ Sending
for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH.
--smtp-encryption=<encryption>::
- Specify the encryption to use, either 'ssl' or 'tls'. Any other
- value reverts to plain SMTP. Default is the value of
+ Specify the encryption to use, either 'ssl' (SMTPS or implicit
+ TLS) or 'tls' (STARTTLS or Opportunistic TLS). Any other value
+ reverts to plain SMTP. The difference between SMTPS and STARTTLS
+ is SMTPS uses encrypted connection from beginning of connection,
+ whereas in STARTTLS the existing connection is upgraded to use TLS
+ if SMTP server supports it. Default is the value of
`sendemail.smtpEncryption`.
--smtp-domain=<FQDN>::
base-commit: 5d213e46bb7b880238ff5ea3914e940a50ae9369
--
2.25.1
reply other threads:[~2021-08-14 9:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210814092035.42272-1-bagasdotme@gmail.com \
--to=bagasdotme@gmail.com \
--cc=git@matthieu-moy.fr \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=konstantin@linuxfoundation.org \
--cc=tom.russello@grenoble-inp.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).