2TapPrince set up a Discourse instance on DigitalOcean but couldn’t receive activation emails due to SMTP configuration issues. Initially using port 465 with Strato’s SMTP, they found no success even after switching to port 587. JammyDodger referenced Discourse’s email troubleshooting guide, noting port 465 is deprecated and suggesting alternatives like 587 or 2525. Rhod asked if the domain was properly added in DigitalOcean’s Networking section and whether the firewall allowed outbound SMTP traffic. 2TapPrince confirmed they had set up the A record but were unsure about domain registration in DO or firewall rules. Rhod guided them through adding the domain in DO’s Networking panel, and later advised opening port 587 in the firewall Rhod. However, Stephen clarified that inbound port 587 doesn’t need to be opened for outbound email sending — Discourse doesn’t run a mail server. Ultimately, 2TapPrince resolved the issue by correcting their DISCOURSE_SMTP_DOMAIN setting — removing the unnecessary “.com” suffix from celesto.graphics.com to just celesto.graphics. Emails, including activation mails, now work correctly.
I have setup a digitalocean discourse docker instance. Setup went just smooth, however.. I can’t seem to get the account creation working because I don’t get a verification email.
A question, perhaps very obvious to many, but sometimes the simple things are the ones that go unnoticed.
Have you already added within Digital Ocean (DO), the domain name (talk.example.com) and adjusted the firewall to open the necessary port? Also, do not forget that within the firewall you must add the droplet where you installed “discourse” .
So what I did is, I created the droplet and created a new A record at my domain provider and added the ip of my droplet.
Adding a domain to my droplet is necessary for this email setup? If so, can you guide me a little, where exactly can I add the domain for example? And what needs to be added to the firewall.
I am not that experienced with this kind of stuff.
Thanks anyway!
Don’t worry, I’ll try to guide you as best as possible, I’m not an expert on the subject, but so far my email works without problems, personally I use “sendiblue”, because it was the only one that allowed me to use an account without going through filters that others put.
In short, the section that I mention is in “networking”.
Personally, it was necessary for me to add and manage the domain name from “DO”, since Sendinblue asked me to add some dns values to verify domain ownership, just like google for user registration.
I entered my Google Mail as recipient to test. So the email wasn’t sent, as it seems. This is weird.
So I can’t send emails. Which would also explains, why I cannot receive the activation mail.