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
  • Brite
  • 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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. email: autoconfig for autoconfiguration (example: via thunderbird)

email: autoconfig for autoconfiguration (example: via thunderbird)

Scheduled Pinned Locked Moved Solved Feature Requests
emailthunderbird
28 Posts 9 Posters 18.2k Views 12 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
    girishG
    girish
    Staff
    wrote on last edited by
    #6

    I have put instructions how to setup autoconfig for Thunderbird and Outlook here - https://cloudron.io/documentation/email/#autodiscover . I tested Thunderbird and that works well. I couldn't test Outlook because it seems old Outlook is not downloadable anymore and Outlook 365 uses some undocumented autodiscover.json method these days.

    1 Reply Last reply
    2
    • valkalonV
      valkalonV
      valkalon
      wrote on last edited by
      #7

      Awesome Girish thanks a lot !

      1 Reply Last reply
      0
      • subvenS
        subvenS
        subven
        wrote on last edited by subven
        #8

        Very nice to see this finally beeing resolved and documentated. Thank you a lot @valkalon and @girish 🙂

        1 Reply Last reply
        0
        • H
          H
          hakunamatata
          wrote on last edited by
          #9

          Hello, I have followed the instructions in the cloudron documentation and successfully set up autoconfig for my primary domain (domain1.com). Thanks for that!

          I am also hosting other domains (domain2.com, domain3.com), on my cloudron server and was wondering how I could set autoconfig for them as well.

          Do I create a similar config-v1.1.xml files on autoconfig.domain2.com, autoconfig.domain3.com etc or can I somehow edit the autoconfig.domain1.com/mail/config-v1.1.xml to include the additional domains?

          robiR girishG 2 Replies Last reply
          1
          • H hakunamatata

            Hello, I have followed the instructions in the cloudron documentation and successfully set up autoconfig for my primary domain (domain1.com). Thanks for that!

            I am also hosting other domains (domain2.com, domain3.com), on my cloudron server and was wondering how I could set autoconfig for them as well.

            Do I create a similar config-v1.1.xml files on autoconfig.domain2.com, autoconfig.domain3.com etc or can I somehow edit the autoconfig.domain1.com/mail/config-v1.1.xml to include the additional domains?

            robiR
            robiR
            robi
            wrote on last edited by
            #10

            @hakunamatata they would be separate. Hence the use of the first method may be better for a multi-domain setup.

            Frequency tech & energy mastery

            1 Reply Last reply
            0
            • robiR
              robiR
              robi
              wrote on last edited by
              #11

              This looks like it should simply be a checkbox in the UI, and Cloudron manages the ~yellowtent/boxdata/well-known/<domains> hierarchy.

              Was that the plan @staff ?

              Frequency tech & energy mastery

              girishG 1 Reply Last reply
              2
              • H hakunamatata

                Hello, I have followed the instructions in the cloudron documentation and successfully set up autoconfig for my primary domain (domain1.com). Thanks for that!

                I am also hosting other domains (domain2.com, domain3.com), on my cloudron server and was wondering how I could set autoconfig for them as well.

                Do I create a similar config-v1.1.xml files on autoconfig.domain2.com, autoconfig.domain3.com etc or can I somehow edit the autoconfig.domain1.com/mail/config-v1.1.xml to include the additional domains?

                girishG
                girishG
                girish
                Staff
                wrote on last edited by
                #12

                @hakunamatata said in email: autoconfig for autoconfiguration (example: via thunderbird):

                Do I create a similar config-v1.1.xml files on autoconfig.domain2.com, autoconfig.domain3.com etc or can I somehow edit the autoconfig.domain1.com/mail/config-v1.1.xml to include the additional domains?

                My understanding is that you have to create separate configs i.e your former suggestion. After all, there is no way of knowing domain2's autoconfig is in domain1.

                1 Reply Last reply
                0
                • robiR robi

                  This looks like it should simply be a checkbox in the UI, and Cloudron manages the ~yellowtent/boxdata/well-known/<domains> hierarchy.

                  Was that the plan @staff ?

                  girishG
                  girishG
                  girish
                  Staff
                  wrote on last edited by
                  #13

                  @robi said in email: autoconfig for autoconfiguration (example: via thunderbird):

                  This looks like it should simply be a checkbox in the UI, and Cloudron manages the ~yellowtent/boxdata/well-known/<domains> hierarchy.

                  Yes, correct. Except I broke this because I completely forgot about autoconfig well known support and only implemented mastodon and matrix 😕 Will get it fixed for 6.1.2.

                  1 Reply Last reply
                  2
                  • girishG
                    girishG
                    girish
                    Staff
                    wrote on last edited by
                    #14

                    @hakunamatata I have automated the mail autoconfig for all domains. It's part of 6.1.2. Should be out next week.

                    https://git.cloudron.io/cloudron/box/-/commit/ef68cb70c07f2abd524879aef70930b572f48917

                    jdaviescoatesJ 1 Reply Last reply
                    11
                    • girishG girish

                      @hakunamatata I have automated the mail autoconfig for all domains. It's part of 6.1.2. Should be out next week.

                      https://git.cloudron.io/cloudron/box/-/commit/ef68cb70c07f2abd524879aef70930b572f48917

                      jdaviescoatesJ
                      jdaviescoatesJ
                      jdaviescoates
                      Super Fan
                      wrote on last edited by
                      #15

                      @girish great stuff, thanks! 🙂

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • H
                        H
                        hakunamatata
                        wrote on last edited by
                        #16

                        Super! Thanks everyone!

                        1 Reply Last reply
                        0
                        • H
                          H
                          hakunamatata
                          wrote on last edited by
                          #17

                          @girish my server updated to 6.1.2 last night and the autoconfig doesn't seem to be working. /home/yellowtent/boxdata/well-known/ is empty.

                          girishG 1 Reply Last reply
                          0
                          • H hakunamatata

                            @girish my server updated to 6.1.2 last night and the autoconfig doesn't seem to be working. /home/yellowtent/boxdata/well-known/ is empty.

                            girishG
                            girishG
                            girish
                            Staff
                            wrote on last edited by
                            #18

                            @hakunamatata yes, it's migrated to the database now. The email auto configuration is also automatic. You can find settings in domains -> advanced

                            H 1 Reply Last reply
                            0
                            • girishG girish

                              @hakunamatata yes, it's migrated to the database now. The email auto configuration is also automatic. You can find settings in domains -> advanced

                              H
                              H
                              hakunamatata
                              wrote on last edited by
                              #19

                              @girish I have an app installed on the bare domain as per the docs, however autoconfig is still not working on my end.

                              Is there supposed to be a setting that I need to enable in domains > advanced ? Because I don't see anything related to this in the settings.

                              girishG 1 Reply Last reply
                              0
                              • H hakunamatata

                                @girish I have an app installed on the bare domain as per the docs, however autoconfig is still not working on my end.

                                Is there supposed to be a setting that I need to enable in domains > advanced ? Because I don't see anything related to this in the settings.

                                girishG
                                girishG
                                girish
                                Staff
                                wrote on last edited by
                                #20

                                @hakunamatata Can you try this curl -v https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml. If that returns a 404, can you go the bare domain app's Location view and click save (no need to make any changes) and then run the curl again?

                                H 1 Reply Last reply
                                0
                                • girishG girish

                                  @hakunamatata Can you try this curl -v https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml. If that returns a 404, can you go the bare domain app's Location view and click save (no need to make any changes) and then run the curl again?

                                  H
                                  H
                                  hakunamatata
                                  wrote on last edited by
                                  #21

                                  @girish said in email: autoconfig for autoconfiguration (example: via thunderbird):

                                  curl -v https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml

                                  That seems to have done the trick. Thanks!

                                  girishG 1 Reply Last reply
                                  1
                                  • H hakunamatata

                                    @girish said in email: autoconfig for autoconfiguration (example: via thunderbird):

                                    curl -v https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml

                                    That seems to have done the trick. Thanks!

                                    girishG
                                    girishG
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #22

                                    @hakunamatata Ah, I had put that "note" in https://docs.cloudron.io/domains/#matrix-server-location but forgot to put the same note for email configuration. Will do so, thanks.

                                    1 Reply Last reply
                                    2
                                    • A
                                      A
                                      AartJansen
                                      wrote on last edited by AartJansen
                                      #23

                                      I realize this is an old thread, but is the autodiscover meant to "just work" for thunderbird ? I just tried it and it "failed to find the settings for your email account"
                                      This was over the LAN. I just tried it over the internet, withthe same result.
                                      I also ran the curl command on both clients, and it reported "not found" no such route.
                                      I clicked the sync DNS, and waited for a while and tried again with the same result.

                                      1 Reply Last reply
                                      0
                                      • nebulonN
                                        nebulonN
                                        nebulon
                                        Staff
                                        wrote on last edited by girish
                                        #24

                                        Is the main domain (for example domain.com, when your Cloudron runs on my.domain.com) pointing to your Cloudron also and is served up correctly?

                                        See https://docs.cloudron.io/email/#autodiscover

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

                                          I quickly re-tested this in my thunderbird. As @nebulon said, you must have an app in the email domain for this to work.

                                          image.png

                                          1 Reply Last reply
                                          2

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          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