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. Error getting IP of mail service

Error getting IP of mail service

Scheduled Pinned Locked Moved Solved Support
mail
7 Posts 4 Posters 1.5k Views 5 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.
    • avatar1024A Offline
      avatar1024A Offline
      avatar1024
      wrote on last edited by girish
      #1

      Hello,

      I have just tried to turn on the the Income Email function in one of my instance and I get a Cloudron error: "Error getting IP of mail service". None of the DNS are being set-up automatically.

      I don't think I have seen this before in other of my other instances and couldn't find similar problem on the forum or in your doc.

      I am on Wildcard DNS but all apps are being set-up fine and I didn't have this issue on another Cloudron also on wildcard.

      Any idea?

      Thank you

      jdaviescoatesJ 1 Reply Last reply
      0
      • avatar1024A avatar1024

        Hello,

        I have just tried to turn on the the Income Email function in one of my instance and I get a Cloudron error: "Error getting IP of mail service". None of the DNS are being set-up automatically.

        I don't think I have seen this before in other of my other instances and couldn't find similar problem on the forum or in your doc.

        I am on Wildcard DNS but all apps are being set-up fine and I didn't have this issue on another Cloudron also on wildcard.

        Any idea?

        Thank you

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #2

        @avatar1024 said in Error getting IP of mail service:

        Any idea?

        I think with wildcard set up you'll need to manually configure dns. You should get notifications telling you want needs setting up within 30mins, I think.

        Have you looked at https://cloudron.io/documentation/email/ ?

        (@girish @nebulon I note that page links to https://cloudron.io/documentation/email/#debugging-mail which doesn't seem to exist anymore)

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          This error message seems to come from some other part. It tries to get the internal IP address of the mail docker container. Can you check in the system view of the dashboard, if the mail service is running and possibly even just restart it and then re-enable incoming mail again.

          avatar1024A 1 Reply Last reply
          0
          • nebulonN nebulon

            This error message seems to come from some other part. It tries to get the internal IP address of the mail docker container. Can you check in the system view of the dashboard, if the mail service is running and possibly even just restart it and then re-enable incoming mail again.

            avatar1024A Offline
            avatar1024A Offline
            avatar1024
            wrote on last edited by
            #4

            @nebulon Thank you for the reply. The mail service seem to be running fine, I tried to restart it but that didn't work. I also tried to reboot the whole server, it didn't work either. I am running Cloudron 5.1.3 (and also 5.1.1 and 5.1.2 with same error but didn't try with earlier version) and SMTP works fine, just so you know. Do you want me to contact you via email instead or send you the log of the mail service?

            @jdaviescoates Thank you also. Only DKIM and SPF records you have to setup manually when on wildcard, the other are normally set-up automatically. But also, I don't think I should get that error message in relation to the IP address.

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

              @avatar1024 This could be because you clicked on 'enable email' too quickly i.e as soon as you created an admin account and clicked on enable email before say 30 seconds to a minute. This can also happen if you did this too quickly after a reboot where the containers are just coming up.

              This happens because Cloudron starts the platform (i.e all the containers for mail/database etc) in the background after the admin account is created. For apps, we have a check for this and it will say "waiting" if you install too quickly. For email, we don't have this check (makes sense to add it).

              Can you confirm if maybe you clicked too quickly? If so, the fix is just to disable incoming mail and re-enable it.

              Also, none of the DNS are setup automatically on wildcard. This is as expected because Cloudron doesn't have access to your DNS.

              avatar1024A 1 Reply Last reply
              1
              • girishG girish

                @avatar1024 This could be because you clicked on 'enable email' too quickly i.e as soon as you created an admin account and clicked on enable email before say 30 seconds to a minute. This can also happen if you did this too quickly after a reboot where the containers are just coming up.

                This happens because Cloudron starts the platform (i.e all the containers for mail/database etc) in the background after the admin account is created. For apps, we have a check for this and it will say "waiting" if you install too quickly. For email, we don't have this check (makes sense to add it).

                Can you confirm if maybe you clicked too quickly? If so, the fix is just to disable incoming mail and re-enable it.

                Also, none of the DNS are setup automatically on wildcard. This is as expected because Cloudron doesn't have access to your DNS.

                avatar1024A Offline
                avatar1024A Offline
                avatar1024
                wrote on last edited by
                #6

                @girish I'm afraid I have enabled and disabled Incoming mail several times already and the first time I did it Cloudron was running for a while so it doesn't seem it's to do with clicking too quickly. Also, just for info, the message also appears when I disable the Incoming email.

                However, I did set all the DNS manually as you pointed out and it seems to all work fine despite the error message about the IP. It's a bit odd but I can live with that as it's not causing any actual issue. Happy to give you ssh access if you want to look into it but don't feel you have to for me.

                @jdaviescoates you were right on the DNS, my memory was wrong! I had set-up a Cloudron with Wilcard a while ago and I didn't remember having to set them all up (btw Gauthier here 😉).

                Thank you all

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

                  OK, I will try to reproduce it locally and reach out if required. Thanks!

                  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