autoconfig icon indicating copy to clipboard operation
autoconfig copied to clipboard

Standardize autoconfig

Open ben221199 opened this issue 3 years ago • 5 comments

Hello @benbucksch and others,

Recently I came across autoconfig because Thunderbird uses it. I think this is very useful protocol to set email easily. However, at the moment the protocol isn't standardized yet.

I would like to see autoconfig standardized. This means that autoconfig will be registered at https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml and the XML format (maybe also the old format) and the used HTTP URLs (maybe also the old paths) will be known by both email client implementers and email server hosters. It also will cause the protocol to be more mainstream and more used.

If I can help writing this standard (I think making an RFC is the easiest), I would like to do that.

Thanks in advance

ben221199 avatar Jul 16 '22 14:07 ben221199

I've done this (independent from this ticket), see: https://www.ietf.org/archive/id/draft-bucksch-autoconfig-00.html

benbucksch avatar Jan 03 '24 03:01 benbucksch

Cool. Can I help somewhere?

ben221199 avatar Jan 03 '24 09:01 ben221199

The repository can be found here: https://github.com/benbucksch/autoconfig-spec

cketti avatar Feb 22 '24 18:02 cketti

I just found out that @benbucksch is the author of https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat, which history goes back to atleast 2008. Sorry that I wasn't are of that. Woops. 😬 Cool that there is a draft for standardization available: https://datatracker.ietf.org/doc/draft-bucksch-autoconfig/. It is a nice starting point for standardization and a good alternative for autodiscover from Microsoft.


For standardization, I think it is important to have a clear understanding about the version and version history of the format. For example, the <clientConfig> has the attribute version with value 1.1 in it's latest version. However, 3.1 is also used in older versions and 3.0 is mentioned too. If more clarified what happened with those numbers, it it easier to write a specification, also for older clients.

ben221199 avatar Feb 24 '24 19:02 ben221199

I crawled to some wiki page changes and got the following versions:

  • Without version attribute, but with xmlns attribute.

    • Introduced in 2008
    • Seems to be sometimes mentioned as 3.0
    • Maybe possible to see this one as implicitly 1.0?
  • With version attribute containing 3.1

    • Introduced in 2009
    • The 3.1 version code originates from the Thunderbird version
    • Is this the same version as the 1.1 one, but just before renaming?
  • With version attribute containing 1.1

    • Introduced in 2010
    • The 1.1 version code does NOT originate from the Thunderbird version
    • Is this the same version as the 3.1 one, but just renamed?

If the above information (3.1 == 1.1, and maybe 3.0 == 1.0 too) is correct, I would suggest to standardize both 1.0 and 1.1.

ben221199 avatar Feb 24 '24 20:02 ben221199