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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How to set up Mailgun SMTP relay?

How to set up Mailgun SMTP relay?

Scheduled Pinned Locked Moved Solved Support
mailgun
5 Posts 2 Posters 1.1k Views 2 Watching
  • 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.
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by girish
      #1

      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?

      girishG 1 Reply Last reply
      0
      • humptydumptyH humptydumpty

        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?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #2

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

        humptydumptyH 1 Reply Last reply
        0
        • girishG 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).

          humptydumptyH Offline
          humptydumptyH Offline
          humptydumpty
          wrote on last edited by
          #3

          @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
          0
          • humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by
            #4

            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

            girishG 1 Reply Last reply
            0
            • humptydumptyH humptydumpty

              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

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

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

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search