Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved How to set up Mailgun SMTP relay?

    Support
    mailgun
    2
    5
    282
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • humptydumpty
      humptydumpty last edited by girish

      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?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @humptydumpty last edited by girish

        @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).

        humptydumpty 1 Reply Last reply Reply Quote 0
        • humptydumpty
          humptydumpty @girish last edited by

          @girish Cool. Their docs have the steps for incoming and sending all mashed together. I think I also confused myself by using mail.domain.com instead of mg.domain.com which would be identical to my CR mail server.

          1 Reply Last reply Reply Quote 0
          • humptydumpty
            humptydumpty last edited by

            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

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @humptydumpty last edited by

              @humptydumpty thanks, good to know. We don't automate Mailgun relay yet, so we are not affected.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Powered by NodeBB