After a fresh install of Discourse on a new Ramnode server following these instructions, I am trying to configure the email to interact properly with a Zoho email client. So far, I have not been able to send any emails using Discourse. I’ve already checked out this page: https://meta.discourse.org/t/cannot-get-email-to-send-using-zoho-mail/45554/4.
When I test my smtp server using swaks, an email is sent properly:
swaks --to email@example.com --from firstname.lastname@example.org --server smtp.zoho.com --auth LOGIN --auth-user email@example.com -tls -p 587.
This leads me to believe there is an issue with Discourse. Using the following settings:
DISCOURSE_SMTP_ADDRESS: smtp.zoho.com DISCOURSE_SMTP_PORT: 587 DISCOURSE_SMTP_AUTHENTICATION: "login" DISCOURSE_SMTP_USER_NAME: firstname.lastname@example.org DISCOURSE_SMTP_PASSWORD: "..." DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
I have received the following error:
530 Must issue a STARTTLS command first.
What settings are possible for the
DISCOURSE_SMTP_ variables? Why would email work with swaks but not through Discourse?