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. Different external email domain

Different external email domain

Scheduled Pinned Locked Moved Solved Support
email
14 Posts 4 Posters 2.2k Views 3 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.
  • girishG girish

    @Recliner2042 you have to add the root domain in addition to your existing sub domain in the Domains view. Once you do that, the root domain will appear in the dropdown. You can also configure the root domain's outbound mail behavior in the Email view.

    R Offline
    R Offline
    Recliner2042
    wrote on last edited by Recliner2042
    #3

    @girish I was afraid that if I add the root domain to Cloudron's Domains view, it would ruin the existing email DNS settings I have on Digital Ocean already. I noticed when I add a domain to Cloudron it creates a _dmarc TXT record. Is there a way to add a domain without it automatically doing email DNS records?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Recliner2042
      wrote on last edited by
      #4

      OK I tried it and I see it only adds records and appends records in a way that does not overwrite any.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Recliner2042
        wrote on last edited by
        #5

        But it is still failing to send a test email. I'm using proton.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Recliner2042
          wrote on last edited by Recliner2042
          #6
          May 03 14:12:03 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 185.205.70.128:25
          May 03 14:12:22 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 185.70.42.129:25
          May 03 14:12:24 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 185.70.42.129:25
          May 03 14:12:33 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 185.205.70.129:25
          May 03 14:12:52 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 176.119.200.129:25
          May 03 14:12:54 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 176.119.200.129:25
          May 03 14:13:03 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 185.70.42.129:25
          May 03 14:13:22 [NOTICE] [-] [core] [outbound] Failed to get socket: Outbound connection timed out to 185.205.70.129:25
          

          Looks like it is trying port 25 instead of 587 but I specified port 587

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #7

            @Recliner2042 Looks like your VPS does not allow outbound port 25. Have you set up a mail relay for that domain - https://docs.cloudron.io/email/#relay-outbound-mails ?

            archosA R 2 Replies Last reply
            1
            • girishG girish

              @Recliner2042 Looks like your VPS does not allow outbound port 25. Have you set up a mail relay for that domain - https://docs.cloudron.io/email/#relay-outbound-mails ?

              archosA Offline
              archosA Offline
              archos
              wrote on last edited by
              #8

              @girish I sent you an email. Thank you very much.

              1 Reply Last reply
              0
              • girishG girish

                @Recliner2042 Looks like your VPS does not allow outbound port 25. Have you set up a mail relay for that domain - https://docs.cloudron.io/email/#relay-outbound-mails ?

                R Offline
                R Offline
                Recliner2042
                wrote on last edited by Recliner2042
                #9

                @girish Yes, I'm only using outbound relay.
                Screenshot from 2024-05-05 18-33-06.png
                Mailboxes are disabled.
                Screenshot from 2024-05-05 18-34-55.png

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Recliner2042
                  wrote on last edited by Recliner2042
                  #10

                  OK now I'm seeing there is a rejection log from the mail server because the reply to address does not match my account address. How do I force cloudron to not use no-reply@domain and use the account address instead?

                  1 Reply Last reply
                  0
                  • nebulonN Away
                    nebulonN Away
                    nebulon
                    Staff
                    wrote on last edited by
                    #11

                    @Recliner2042 Cloudron may send out as various sender addresses, not just no-reply depending on the setup of the installed apps. So your relay has to support this. See https://docs.cloudron.io/email/#relay-outbound-mails for more info.

                    R 1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Recliner2042
                      wrote on last edited by
                      #12

                      Oh I see it was in the note box on the docs page.

                      1 Reply Last reply
                      0
                      • R Recliner2042 has marked this topic as solved on
                      • nebulonN nebulon

                        @Recliner2042 Cloudron may send out as various sender addresses, not just no-reply depending on the setup of the installed apps. So your relay has to support this. See https://docs.cloudron.io/email/#relay-outbound-mails for more info.

                        R Offline
                        R Offline
                        Recliner2042
                        wrote on last edited by
                        #13

                        @nebulon What if I go into the email setting of each app, and tell each app to use the correct address? Then it will work for all the apps but not for Cloudron itself?

                        1 Reply Last reply
                        0
                        • nebulonN Away
                          nebulonN Away
                          nebulon
                          Staff
                          wrote on last edited by
                          #14

                          That probably works for those apps yes, still a proper relay is recommended.

                          1 Reply Last reply
                          0
                          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