|
58 | 58 | |
59 | 59 | |
60 | 60 |
|
61 | | - ## TODO: The SMTP mail server used to validate new accounts and send notifications |
62 | | - # SMTP ADDRESS is required |
63 | | - # WARNING: SMTP password should be wrapped in quotes to avoid problems |
| 61 | + ## TODO: Configure the mail server |
| 62 | + ## (used for validation of new accounts, notifications, digests, etc.) |
| 63 | + ## required: hostname of the SMTP mail server used to send mail |
64 | 64 | DISCOURSE_SMTP_ADDRESS: smtp.example.com |
| 65 | + ## uncomment to set the port to something other than the default (25) |
65 | 66 | #DISCOURSE_SMTP_PORT: 587 |
| 67 | + ## USER_NAME / PASSWORD required if the SMTP provider needs authentication |
| 68 | + ## WARNING: a '#' in the SMTP password can be misinterpreted; ensure it's inside string quotes, e.g.: |
| 69 | + ## DISCOURSE_SMTP_PASSWORD: "#pass#ord" |
66 | 70 | DISCOURSE_SMTP_USER_NAME: [email protected] |
67 | 71 | DISCOURSE_SMTP_PASSWORD: "pa$$word" |
68 | | - #DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default: true) |
69 | | - #DISCOURSE_SMTP_DOMAIN: discourse.example.com # (required by some providers) |
70 | | - #DISCOURSE_NOTIFICATION_EMAIL: [email protected] # (address to send notifications from) |
71 | | - #DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: peer # (optional, default: peer, valid values: none, peer, client_once, fail_if_no_peer_cert) |
72 | | - #DISCOURSE_SMTP_AUTHENTICATION: plain # (default: plain, valid values: plain, login, cram_md5) |
| 72 | + ## uncomment to enable implicit TLS at connection time, probably needed for using port 465 |
| 73 | + #DISCOURSE_SMTP_FORCE_TLS: true |
| 74 | + ## uncomment to set the HELO/EHLO domain, only set if required by provider |
| 75 | + #DISCOURSE_SMTP_DOMAIN: discourse.example.com |
| 76 | + ## the address from which notifications are sent |
| 77 | + #DISCOURSE_NOTIFICATION_EMAIL: [email protected] |
| 78 | + ## uncomment to change server certificate verification |
| 79 | + #DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: peer # peer|none |
| 80 | + ## uncomment to override the authentication method |
| 81 | + #DISCOURSE_SMTP_AUTHENTICATION: plain # plain|login|cram_md5 |
73 | 82 |
|
74 | 83 | ## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate |
75 | 84 | #LETSENCRYPT_ACCOUNT_EMAIL: [email protected] |
|
0 commit comments