docs/email: Clarify discussion Django's EMAIL_HOST_PASSWORD.

This fixes the second part of #6974 about EMAIL_HOST_PASSWORD.
This commit is contained in:
Tim Abbott
2017-10-12 11:29:10 -07:00
parent e1660462e1
commit aaf1cf848a

View File

@@ -110,9 +110,12 @@ aren't receiving emails from Zulip:
exceptions Zulip encounters.
* Zulip's email sending configuration is based on the standard Django
[SMTP backend](https://docs.djangoproject.com/en/1.10/topics/email/#smtp-backend)
configuration. The one thing we've changed from the defaults is
reading `EMAIL_HOST_PASSWORD` from the `email_password` entry in the
Zulip secrets file, so that secrets don't live in the
`/etc/zulip/settings.py` file. So if you're having trouble getting
your email provider working, you may want to search for
documentation related to using your email provider with Django.
configuration. So if you're having trouble getting your email
provider working, you may want to search for documentation related
to using your email provider with Django. The one thing we've
changed from the defaults is reading the email password from the
`email_password` entry in the Zulip secrets file, as part of our
policy of not having any secret information in the
`/etc/zulip/settings.py` file. In other words, if Django
documentation references setting `EMAIL_HOST_PASSWORD`, you should
instead set `email_password` in `/etc/zulip/zulip-secrets.conf`.