Emails are no longer being sent to users

Hi there,

We have noticed that the emails on our community are not sending when someone creates a new article, or for the weekly digest email. On the Discourse admin side I see this “check your app.yml and ensure that the mail server settings are correct. See the failed jobs in Sidekiq

Does anybody have any ideas why? I checked our email settings, everything seems correct still, we didn’t change anything. In addition, when I tried to send an email via the test service, this is what I get:

Any ideas would be very helpful :folded_hands: thanks!

You’re using Digital Ocean and they are now blocking outgoing connections to port 587.

You need to go to your app.yml and change port 587 to 2525 and then rebuild (if now’s a good time for an upgrade anyway) or

./launcher destroy app ; ./launcher start app
5 Likes

Actually a small correction here, They block outbound emails on all ports, which means unless they lift the restrictions from your account even 2525 won’t work. Easiest solution is to raise a ticket to their support and they are usually quick to review and lift the ban.

1 Like

Hmm. That’s a new one on me! I don’t think I’ve seen port 2525 get blocked yet. The one I fixed yesterday worked, but maybe I should tell those folks to open a ticket too.

Thanks.

1 Like

Thanks for the info! We will test this and see if it helps …

I was troubleshooting failed smtp jobs on a site about a month ago, jobs were failing despite them being configured for port 2525. It all got fixed once DO lifted the restriction.

1 Like