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. mail client autoconfig?

mail client autoconfig?

Scheduled Pinned Locked Moved Solved Support
mailautoconfig
14 Posts 5 Posters 2.2k 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.
  • P Offline
    P Offline
    perler
    wrote on last edited by
    #5

    Ok, here with a newly added domain it doesn't work. There are no DNS entries been set in cloudflare (in this case), so thunderbird tries to "guess" in my case (and fails).

    1 Reply Last reply
    0
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #6

      I'm not using Cloudflare (imho it tends to cause more problems than it solves, and contributes to the centralisation the internet), perhaps that is why mine works? 🤷

      But also, if it's a newly added domain I guess it may just be a propagation issue?

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #7

        The use of autoconfig requires that an app is installed in the root of your domain. See the notes at https://docs.cloudron.io/email/#autoconfigxml

        robiR 1 Reply Last reply
        2
        • P Offline
          P Offline
          perler
          wrote on last edited by
          #8

          ok, but you have such a polished email system - should this not happen automatically?

          girishG 1 Reply Last reply
          0
          • fbartelsF fbartels

            The use of autoconfig requires that an app is installed in the root of your domain. See the notes at https://docs.cloudron.io/email/#autoconfigxml

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #9

            @fbartels should this not be emulatable by a well placed directory in Surfer or WP on the root/bare domain?

            Conscious tech

            1 Reply Last reply
            0
            • P perler

              ok, but you have such a polished email system - should this not happen automatically?

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

              @perler The bare domain can be used for something else, so this cannot be automated. Maybe domain.com is your website which is hosted outside Cloudron (in which case this is not automatable). If `domain.com is an app on Cloudron, we cannot guess/decide what app the user wants there. Which is why this is not automatic.

              1 Reply Last reply
              0
              • girishG girish marked this topic as a question on
              • girishG girish has marked this topic as solved on
              • P Offline
                P Offline
                perler
                wrote on last edited by
                #11

                Ok, TBH I didn't get the "bare/root domain" comment in the first place. For autoconfiguration of mail clients you need these configurations: https://docs.iredmail.org/iredmail-easy.autoconfig.autodiscover.html

                as cloudron has control over the NS of the domains hosted we can set these entries (unless they are set already, then we should warn the user) and we can create the nginx docker container serving the autodiscover.xml.

                Am I missing something?

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

                  @perler oh, are you suggesting serving up autoconfig.customer.com automatically ?

                  Currently, the discovery mechanism is set up to server http://customer.com/.well-known/autoconfig/mail/config-v1.1.xml?emailaddress=user@customer.com in cloudron. That requires us to serve up a document in customer.com (i.e the bare domain). This requires Cloudron to setup customer.com DNS entry to point to Cloudron IP. But we can't do this automatically, because you might be in use outside of cloudron context. Note that a common misunderstanding, if you added customer.com to Cloudron, is that Cloudron "owns" customer.com. This is not true. Cloudron only manipulates DNS records of apps and the mail server. Rest are untouched.

                  For example, my.cloudron.io (our mail server) and cloudron.io (our website) are actually totally different servers. If my.cloudron.io just overwrote cloudron.io to point to the mail server, our website won't work anymore!

                  Hope that makes sense... I am looking into this autoconfig subdomain though, that seems automatable.

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

                    Here's a bunch of information I found. There are 3 ways for autoconfig (k9 issue😞

                    • Microsoft way- https://technet.microsoft.com/en-us/library/cc511507.aspx
                    • Thunderbird way - https://wiki.mozilla.org/Thunderbird:Autoconfiguration
                    • DNS way (Apple?) - https://tools.ietf.org/html/rfc6186 . There is some concers here wrt validation of the records + DNSSEC . See also https://bugzilla.mozilla.org/show_bug.cgi?id=342242 . CalDav and CardDav is via https://datatracker.ietf.org/doc/html/rfc6764 .

                    I am yet to find mail clients that use DNS SRV records. So, at this point, only adding an autoconfig subdomain automatically makes sense.

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

                      Nicely detailed docs here - https://www.axigen.com/documentation/axigen-auto-discovery-p49119962

                      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