Final followup: email is working!
The problems I had along the way:
- DISCOURSE_SMTP_PASSWORD had symbols but wasn’t in quotes
- DISCOURSE_SMTP_FORCE_TLS: true to make SSL happen
- DISCOURSE_SMTP_ENABLE_START_TLS: false to stop the TLS handshake
- DISCOURSE_NOTIFICATION_EMAIL set to an non-existing email address
DISCOURSE_SMTP_ADDRESS: smtp.mailfence.com
DISCOURSE_SMTP_PORT: 465
DISCOURSE_SMTP_USER_NAME: example@mailfence.com
DISCOURSE_SMTP_PASSWORD: 'passwd'
DISCOURSE_SMTP_FORCE_TLS: true
DISCOURSE_SMTP_ENABLE_START_TLS: false
DISCOURSE_NOTIFICATION_EMAIL: admin@example.org