Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Improve STARTTLS / SSL documentation for Django email settings.

Jason55d6f809ba15
diff --git a/docs/production/email.md b/docs/production/email.md
index 79d19de7170..70766a59f87 100644
--- a/docs/production/email.md
+++ b/docs/production/email.md
@@ -72,6 +72,11 @@ follows:
providers
- The password like `email_password = abcd1234` in `/etc/zulip/zulip-secrets.conf`.
+If your SMTP provider uses implicit SSL/TLS on port 465 (and not `STARTTLS` on
+port 587), you need to set `EMAIL_PORT = 465`, as well as replacing
+[`EMAIL_USE_TLS = True`](https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_USE_TLS)
+with [`EMAIL_USE_SSL = True`](https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_USE_SSL).
+
### Using system email
If you'd like to send outgoing email using the local operating
@@ -201,11 +206,6 @@ aren't receiving emails from Zulip:
should be in `/var/log/zulip/errors.log`, along with any other
exceptions Zulip encounters.
-- If your SMTP provider uses SSL on port 465 (and not TLS on port
- 587), you need to set `EMAIL_PORT = 465` as well as replacing
- `EMAIL_USE_TLS = True` with `EMAIL_USE_SSL = True`; otherwise, Zulip
- will try to use the TLS protocol on port 465, which won't work.
-
- Zulip's email sending configuration is based on the standard Django
[SMTP backend](https://docs.djangoproject.com/en/5.0/topics/email/#smtp-backend)
configuration. So if you're having trouble getting your email