I must be improperly configuring something. Mail is not sending from Discourse after setting up an instance.
Setup is:
MIAB hosted on server1
Discourse hosted on server2
app.yml shows:
## TODO: The mailserver this Discourse instance will use
DISCOURSE_SMTP_ADDRESS: box.server1.us # (mandatory)
DISCOURSE_SMTP_PORT: 587 # (optional)
DISCOURSE_SMTP_USER_NAME: discourse@server1.us # (optional)
DISCOURSE_SMTP_PASSWORD: woowooithides # (optional, WARNING the char '#' in pw can cause problems!)
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
Do I need to setup additional records on MIAB for discourse to authenticate with BOX?
Suggestions would be much appreciated.
I entered app setup admin acct
./launcher enter app
rake admin:create
On the admin panel in discourse it shows this for email:
I think maybe the issue is plain authentication?
adding this line to app.yml:
DISCOURSE_SMTP_AUTHENTICATION: "SSL"
rebuild in progress
Still a Fail
rebuilding with this addition:
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: "none"
options are:
(none, peer, client_once, fail_if_no_peer_cert)
looks like I will try out each one hoping on success
partial success with:
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
DISCOURSE_SMTP_AUTHENTICATION: "plain"
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none