Fixing DigitalOcean’s one click Discourse install with Mailgun.

Recently, I discovered that DigitalOcean’s Discourse install is currently not quite ‘one-click’ (even if you follow all of the DigitalOcean and Mailgun instructions). For some reason, you just can’t get the admin confirmation email to send out of box.

Thankfully, I’ve found the solution.

First, try sending an email using ./discourse-doctor. I was getting rejects and a note that looks like this: