Clarified SMTP-related comments in samples/standalone.yml

This is just a small change and goes along with changes to docs at
https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326.
This commit is contained in:
Philo Gray 2025-03-04 14:37:48 -05:00
parent e42fa9711e
commit 58c647a61e
No known key found for this signature in database
GPG Key ID: 19158A43C1989BBC
1 changed files with 6 additions and 4 deletions

View File

@ -61,15 +61,17 @@ env:
DISCOURSE_DEVELOPER_EMAILS: 'me@example.com,you@example.com'
## TODO: The SMTP mail server used to validate new accounts and send notifications
# SMTP ADDRESS, username, and password are required
# WARNING the char '#' in SMTP password can cause problems!
# SMTP ADDRESS is required
# WARNING: SMTP password should be wrapped in quotes to avoid problems
DISCOURSE_SMTP_ADDRESS: smtp.example.com
#DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: user@example.com
DISCOURSE_SMTP_PASSWORD: pa$$word
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
DISCOURSE_SMTP_PASSWORD: "pa$$word"
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default: true)
#DISCOURSE_SMTP_DOMAIN: discourse.example.com # (required by some providers)
#DISCOURSE_NOTIFICATION_EMAIL: noreply@discourse.example.com # (address to send notifications from)
#DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: peer # (optional, default: peer, valid values: none, peer, client_once, fail_if_no_peer_cert)
#DISCOURSE_SMTP_AUTHENTICATION: plain # (default: plain, valid values: plain, login, cram_md5)
## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate
#LETSENCRYPT_ACCOUNT_EMAIL: me@example.com