configure email accounts automatically like thunderbird [released]
let the email app ask the server for configuration, like thunderbird does
let the email app ask the server for configuration, like thunderbird does
Autoconfiguration can be stored server side. So, basically, Thunderbird will try to access http://autoconfig.yourdomain.com/mail/config-v1.1.xml while configuring a mail account. That file will have to contain configuration details (server/ports/proto) for that domain. TB will also probe most common names (imap.yourdomain.com, pop.yourdomain.com, etc.) and then probe for supported protocols using standard ports. Email client would "just" need to try to get (and parse, of course) the XML file or try and guess the hostnames/ports based on user's mail domain.
Hope that helps. William
Sound like an idea but does Mozilla allow externals to access this database? Or do you mean Jolla or some thirdparty shall setup this database with holding ISP:s mailserver info etc.. ?
I really don't care who set up the database. It just should work like thunderbird does. If Jolla would set up the database (or synchronize it with mozilla) they would be more independent i guess.
renegade22 ( 2013-12-27 20:11:05 +0200 )editThe most common way for auto config to be implemented is the second method mentioned in the Mozilla docs. If your web host uses cPanel then you've almost certainly got a DNS record which points to an auto config record. This doesn't rely on a central database. I would presume other web hosting panels have picked up this feature also.
aegis ( 2013-12-30 14:34:48 +0200 )editImplemented in 1.0.7.16, Saapunki for major email providers, if you have issues please comment here.
is it using http://autoconfig.yourdomain.com/mail/config-v1.1.xml or just hardcoded settings for major providers?
slaveriq ( 2014-06-09 21:04:22 +0200 )editThe beauty of using the discovery url is that you don't need a database. I work for one of the biggest web/email hosting companies in Europe and we have implemented the discovery URL for all our customers domains. Check out eg: https://autoconfig.plassmann.ch/mail/config-v1.1.xml
It should be easy to parse and make the email setup a lot easier. (Support questions from thunderbird users wanting to setup email accounts have virtually dropped to zero since we implemented the discovery url)
slaveriq ( 2014-06-09 21:23:40 +0200 )editYup, I know, we contacted thunderbird team regarding that, is not nice if we just direct our users to their servers without asking IMO :) Probably best is to have their xml database mirrored in our servers, let's see what kind of collaboration we will worked out, bit busy recently and the ball is now in our side.
VDVsx ( 2014-06-09 21:29:52 +0200 )editOh, actually you don't contact the thunderbird servers at all!
Let's say you want to setup the email for plassmann.ch. Then you do a HTTP GET to http://autoconfig.plassmann.ch/mail/config-v1.1.xml (or https if available).
The xml file is located/generated at the host of that domain. Please feel free to contact me on xmpp (dp@plassmann.biz) or per E-Mail if you want more details :) I would be more than happy to help.
slaveriq ( 2014-06-09 21:37:49 +0200 )editAsked: 2013-12-25 18:50:21 +0200
Seen: 604 times
Last updated: Jun 09 '14
For reference: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration?redirectlocale=en-US&redirectslug=Thunderbird%2FAutoconfiguration
slaveriq ( 2013-12-25 20:34:51 +0200 )editit's not just TB, I was used to this on my Nokia devices (N8 plus others) as well as my Android devices. Again it is all about consumer usability, it has to be kept simple stupid.
bmwebb ( 2014-05-29 06:40:29 +0200 )edit