git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] docs: git-send-email: difference between ssl and tls smtp-encryption

From
Philip Oakley <philipoakley@iee.email>
Date
Oct 12, 2022, 16:49 UTC
Message-ID
<19e5b678-6014-d783-347f-9169371aaa09@iee.email>
In-Reply-To
<20221012150619.12877-1-sndanailov@wired4ever.net>
Hi Sotir,
On 12/10/2022 16:06, sndanailov@wired4ever.net wrote:
Show 38 quoted lines
> From: Sotir Danailov <sndanailov@wired4ever.net>
>
> 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>
> ---
> Changes since v1: Expanded explanation, covering more terms.
> Link to v1: https://public-inbox.org/git/20221010172859.13832-1-sndanailov@wired4ever.net/
>
> Changes since v2: Added a description of what the option actually does.
> Link to v2: https://public-inbox.org/git/20221011164927.1516-1-sndanailov@wired4ever.net/
>
>  Documentation/git-send-email.txt | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
> index 3290043053..765b2df853 100644
> --- a/Documentation/git-send-email.txt
> +++ b/Documentation/git-send-email.txt
> @@ -178,9 +178,18 @@ 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
> -	`sendemail.smtpEncryption`.
> +	Specify in what way encrypting begins for the SMTP connection.
> +	Valid values are 'ssl' and 'tls'. Any other value reverts to plain
> +	(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.

Can we insert a sentence something like "Use the `--smtp-server-port` option to set non-default ports." to direct users that need it?

Show 6 quoted lines
>  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>::
>  	Specifies the Fully Qualified Domain Name (FQDN) used in the

-- Philip

Previous: sndanailov@wired4ever.netNext: brian m. carlson
Message 2 of 5 in “docs: git-send-email: difference between ssl and tls smtp-encryption”
  1. docs: git-send-email: difference between ssl and tls smtp-encryptionsndanailov@wired4ever.net, Oct 12, 2022
  2. Philip OakleyOct 12, 2022
  3. brian m. carlsonOct 12, 2022
  4. Junio C HamanoOct 12, 2022
  5. Sotir DanailovOct 13, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.