Tried to setup discourse and have issue with email setup.
I have mail.mydomain.com connected to a mail server configured in NAS with host name
smtp.myquickid.synology.me
I can send/receive mail whatever@domain.com from thunderbird
So I setup discourse app.yml as below
DISCOURSE_SMTP_ADDRESS: smtp.myquickid.synology.me
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: admin@mydomain.com
DISCOURSE_SMTP_PASSWORD: "plainpassword!"
DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)
#DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
Since I have issue with certificate, I set TLS to false however mail can’t be sent
$ tail /var/discourse/shared/standalone/log/rails/production.log shows
....
Sent mail to admin@mydomain.com (30.1ms)
Job exception: 530 5.7.0 Must issue a STARTTLS command first
I think this is caused by setting TLS to false.
Also setting the port 25 gives same thing.
I did check both
$ telnet smtp.myquickid.synology.me 25
$ telnet smtp.myquickid.synology.me 587
all work fine.
How to solve this problem?