I am trying to find out why is my just instantiated Discourse server failing to send email to the initial registered user that the installation completed successfully. The email address I am trying to receive the message about successful Discourse installatation is receiving emails from different sources just fine. so it must be that Discourse server’s email configuration that is defined as
DISCOURSE_SMTP_ADDRESS: smtp.elasticemail.com
DISCOURSE_SMTP_PORT: 2525
DISCOURSE_SMTP_USER_NAME: nik@aureliatools.com
DISCOURSE_SMTP_PASSWORD: "c2bab563-b7fb-428c-bbfa-f97853e2c03b"
Note that I changed the password to preserve privacy and that the above settings are taken from my elasticmail account.
Once Discourse server installation task invoked by ./discourse-setup successfully finishes, I can access the server via browser, at which time, I need to specify the email address where the server will send the “verification email”.
That email never arrives.
Since I have only (PuTTY) console attached to my droplet, I do not have good ideas how to debug this.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
There is this troubleshooting guide: https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326
But I’m still having the same problem. I was following the DO guide, here, but it doesn’t walk one through the steps of getting everything set up properly with a transactional SMTP server.
If this is a new Droplet, it could be that SMTP outbound traffic is disabled to prevent spam. You can use telnet to check is it working. I’m not sure about exact command, but I believe the following one should work:
- telnet smtp.elasticemail.com 2525
If it works, than port is open so it’s not a problem. In that case make sure you configured everything correctly. If it doesn’t work, you should contact support to allow SMTP outbound traffic for your Droplet/account.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.