Problems with mailgun AND transaction emails


I am building a ghost website, so far has been working fine but now I am trying to intregrate Mailgun (as recommended) as SMTP provider bot newsletter AND transaction emails and I am having a hard time.
I’ve spent 2 days reading thourgh various post here and on the internet without finding a solution to my problem.

I run Ghost 5 on docker under OMV5 server.
I have configured mailgun in the docker compose file but I cannot find the config.production.json file that corresponds to my settings in the docker compose (via portainer)…
When I look in my container I can see all is there but the .json does not contains the same variables (database, posts etc) as I’ve set in the compose file. How come when the site is working fine (despite adding users and newsletters) and when I test email to a regestred user it does not work.
I find all info on the site very informative excepts the mailgun intregration, I am clueless.

I don’t know how to solve this, does anyone have a clue?

Does this help? It explains how to pass variables to the container. BTW, I don’t use Docker.

Hi and thanks but I already has this covered through ENV variables. It seems I have made a mistake forwarding mailgun to cloudflare…

I used the following guides and articles to solve problem and to take me this far:

I hope it will help somebody else. I think the Ghost wiki should have a link to the help article at mailgun, the DNS is hard to understand but that guide helped!

1 Like