How to set up Mailgun SMTP relay?
-
Any advice on how to set up Mailgun for SMTP relay is greatly appreciated! The MG docs are helpful but seem to conflict with what I have currently in my Cloudron.
I'v added a domain to my MG account and they want me to add TXT, MX, and CNAME records. However, this seems to allow MG to send AND receive mail for my domain. The idea is to use MG for outbound mail only as a relay.
Did I misunderstand what it says in Cloudron --> Email --> Outbound --> Email Relay?
-
@humptydumpty The mailgun setup for incoming mail is not required. Note that the incoming mail setup there is for the subdomain from what I remember and no harm in setting those up. Does not affect incoming mail of your main domain. Also, the mail server for incoming mail for the subdomain is run by mailgun (iirc, they use it to track bounce and some click tracking). You only have to setup the TXT record (the SPF and DKIM ones).
-
I ran into a limitation with Mailgun. The free trial (with credit card on file) has a domain quota limit. I was told by their sales staff that it's 5 domains but it's actually 4 since the default "sandbox" domain cannot be deleted. I had to contact support and ask them to move me off of the trial period and directly to the Flex plan to have access to additional domains (up to 1000).
@girish I'm not sure if this will affect Mailgun's integration in Cloudron but I came across this: https://help.mailgun.com/hc/en-us/articles/4405121167387-FAQ-The-Coming-Domains-API-Change-To-Remove-The-SMTP-Password-On-November-1-2021
-
@humptydumpty thanks, good to know. We don't automate Mailgun relay yet, so we are not affected.