From f9ff184ee338cbbfb0e1bdb7c365caf8dd45f0a7 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Wed, 16 Jul 2025 17:48:45 +0000 Subject: [PATCH] Mention smtp+starttls not only in the config cheat sheet (#247) I almost entered STARTTLS under PROTOCOLS, better to mention the correct solution without needing to check the config cheat sheet. Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/docs/pulls/247 Reviewed-by: Lunny Xiao Co-authored-by: ChristopherHX Co-committed-by: ChristopherHX --- docs/administration/email-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administration/email-setup.md b/docs/administration/email-setup.md index 91f93f02..cf6b534c 100644 --- a/docs/administration/email-setup.md +++ b/docs/administration/email-setup.md @@ -58,7 +58,7 @@ For the full list of options check the [Config Cheat Sheet](../administration/co Authentication is only supported when the SMTP server communication is encrypted with TLS or `HOST=localhost`. TLS encryption can be through: ::: -- STARTTLS (also known as Opportunistic TLS) via port 587. Initial connection is done over cleartext, but then be upgraded over TLS if the server supports it. +- STARTTLS (also known as Opportunistic TLS) via port 587 with `PROTOCOL=smtp+starttls`. Initial connection is done over cleartext, but then be upgraded over TLS if the server supports it. - SMTPS connection (SMTP over TLS) via the default port 465. Connection to the server use TLS from the beginning. - Forced SMTPS connection with `PROTOCOL=smtps`. (These are both known as Implicit TLS.) This is due to protections imposed by the Go internal libraries against STRIPTLS attacks.