Skip to content

Commit 09d5eb6

Browse files
Clarified SMTP-related comments in samples/standalone.yml (#948)
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.
1 parent 9ec9c0c commit 09d5eb6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

samples/standalone.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,17 @@ env:
6161
DISCOURSE_DEVELOPER_EMAILS: '[email protected],[email protected]'
6262

6363
## TODO: The SMTP mail server used to validate new accounts and send notifications
64-
# SMTP ADDRESS, username, and password are required
65-
# WARNING the char '#' in SMTP password can cause problems!
64+
# SMTP ADDRESS is required
65+
# WARNING: SMTP password should be wrapped in quotes to avoid problems
6666
DISCOURSE_SMTP_ADDRESS: smtp.example.com
6767
#DISCOURSE_SMTP_PORT: 587
6868
DISCOURSE_SMTP_USER_NAME: [email protected]
69-
DISCOURSE_SMTP_PASSWORD: pa$$word
70-
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
69+
DISCOURSE_SMTP_PASSWORD: "pa$$word"
70+
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default: true)
7171
#DISCOURSE_SMTP_DOMAIN: discourse.example.com # (required by some providers)
7272
#DISCOURSE_NOTIFICATION_EMAIL: [email protected] # (address to send notifications from)
73+
#DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: peer # (optional, default: peer, valid values: none, peer, client_once, fail_if_no_peer_cert)
74+
#DISCOURSE_SMTP_AUTHENTICATION: plain # (default: plain, valid values: plain, login, cram_md5)
7375

7476
## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate
7577
#LETSENCRYPT_ACCOUNT_EMAIL: [email protected]

0 commit comments

Comments
 (0)