Sending signup magic link with MailGun

Hey guys, I know that there are already several posts on this argument, I tried my best but I was unable to find a solution.

In order to allow signups on my blog https://adriaticrypto.org/ I registered on MailGun and added my domain.

After, in order to access my config file, I followed this post: Config.production.json - #2 by ravingDIODE and to know how to edit it, I followed the Biron themes guide: https://bironthemes.com/blog/ghost-mailgun-config/.

This is the final result:

Does anyone have any idea of why the signup is still “Failed to send magic link email”? Maybe I did some naive mistake. :face_exhaling:
I restarted Ghost after saving the changes to the config file.

P.S. I’m selfhosting it in a DigitalOcean 1-click setup Droplet, when opening the console on the Server I have this sort of warning, I don’t know if it could be a problem:
The ufw firewall is enabled. All ports except for 22, 80, and 443 are BLOCKED. You can find more information on using this image at: https://marketplace.digitalocean.com/apps/ghost

I would temporarily disable ufw while you troubleshoot this.

A new Mailgun account may not be able to send mail until it’s reviewed and approved, and after that there’s usually about a week period where bulk mailing is not allowed. This is to prevent spammers from signing up, blasting out 1M emails, and ducking out.

I had to open a ticket with Mailgun to get my account working (I migrated over and had an existing email list of ~2K which was flagged).

TLS (587) starts in plain text, so set “secure”: false,, and add “requireTLS”: true,.

Solved, ty so much!
This is the second time that you solve my issues, you are my guardian angel! :innocent:

1 Like