mail account auto-configuration via DNS SRV (possibly with DNSSEC) rfc6186
Categories
(Thunderbird :: Account Manager, enhancement)
Tracking
(Not tracked)
People
(Reporter: dbaron, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: See comment 63)
Attachments
(1 obsolete file)
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
Comment 4•18 years ago
|
||
Comment 5•17 years ago
|
||
Updated•17 years ago
|
Comment 6•17 years ago
|
||
Comment 7•17 years ago
|
||
Updated•17 years ago
|
Updated•16 years ago
|
Updated•16 years ago
|
Updated•16 years ago
|
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Comment 12•16 years ago
|
||
Updated•16 years ago
|
Comment 13•16 years ago
|
||
Comment 14•16 years ago
|
||
Comment 15•16 years ago
|
||
Comment 16•16 years ago
|
||
Comment 17•16 years ago
|
||
Comment 18•16 years ago
|
||
Comment 19•16 years ago
|
||
Comment 20•16 years ago
|
||
Comment 22•15 years ago
|
||
Comment 23•15 years ago
|
||
Comment 24•15 years ago
|
||
Comment 25•15 years ago
|
||
Comment 26•15 years ago
|
||
Comment 27•15 years ago
|
||
Comment 28•15 years ago
|
||
Comment 29•15 years ago
|
||
Comment 30•15 years ago
|
||
Comment 31•15 years ago
|
||
Comment 32•15 years ago
|
||
Comment 33•15 years ago
|
||
Comment 34•15 years ago
|
||
Comment 35•15 years ago
|
||
Comment 36•15 years ago
|
||
Comment 37•15 years ago
|
||
Comment 38•15 years ago
|
||
Comment 39•15 years ago
|
||
Updated•15 years ago
|
Comment 40•15 years ago
|
||
Reporter | ||
Comment 41•15 years ago
|
||
Comment 42•15 years ago
|
||
Comment 43•15 years ago
|
||
Comment 44•15 years ago
|
||
Comment 45•15 years ago
|
||
Comment 46•15 years ago
|
||
Comment 48•14 years ago
|
||
Updated•13 years ago
|
Comment 50•13 years ago
|
||
Comment 51•12 years ago
|
||
Comment 52•12 years ago
|
||
Comment 53•12 years ago
|
||
Comment 54•12 years ago
|
||
Comment 55•12 years ago
|
||
Comment 56•12 years ago
|
||
Comment 57•10 years ago
|
||
Comment 58•7 years ago
|
||
Comment 59•7 years ago
|
||
Comment 60•7 years ago
|
||
Updated•7 years ago
|
Comment 61•7 years ago
|
||
Comment 62•6 years ago
|
||
Comment 63•6 years ago
|
||
Comment 64•6 years ago
|
||
Comment 65•6 years ago
|
||
Comment 66•6 years ago
|
||
It's easier to add a dns field, than to configure via a web server
We will hope that the RFC will be applied
Comment 67•4 years ago
|
||
For the record (and potential inspiration), implementation of rfc6186 in kmail is done: https://github.com/k9mail/k-9/pull/4719
Comment 68•4 years ago
|
||
After 14 years this is still open. What I can't figure out is why not having DNSSEC with RFC 6186 is seen as such a big problem while the currently implemented Autoconfiguration feature gets the information from plain HTTP URLs. Both methods are identically vulnerable to MitM.
Comment 69•4 years ago
|
||
Esa, I answered that 3 years ago in comment 63. I mentioned 3 separate reasons. Each reason on its own is a serious problem.
Comment 70•4 years ago
|
||
(In reply to Ben Bucksch (:BenB) from comment #69)
Esa, I answered that 3 years ago in comment 63. I mentioned 3 separate reasons. Each reason on its own is a serious problem.
Thanks, Ben! Some good and valid arguments there. It's just that while the current approach might have some clear advantages over RFC 6186, it doesn't seem any better security wise – quite the opposite. Or does the Autoconfiguration perhaps support HTTPS and HSTS (RFC 6797) with preloading, which would make forcing TLS possible?
Comment 71•2 years ago
|
||
(In reply to Ben Bucksch (:BenB) from comment #63)
- DNS SRV does not give us some critical information we need to configure the accounts. Specifically, which form the username needs to be transmitted. Is it bbob, or bbob@example.com, or even something like EXAMPLE\bbob? Get it wrong, and the configuration
doesn't work.
Sure, we can try them all. And risk authentication failures and - worst
case - triggering
3-failures-in-a-row-and-you're-out security mechanisms.
We're back to guessing and trail&error.
That defeats the entire point of getting an authoritative configuration
that will definitely work.
If we were to support DNS SRV, then only as a second-class, fallback,
legacy format.
This question is already addressed by RFC 6186, see under Section 4:
When a user identifier is required, MUAs MUST first use the full email address provided by the user, and if that results in an authentication failure, SHOULD fall back to using the "local-part" extracted from the email address. This is in line with the guidance outlined in Section 5. If both these user identifiers result in authentication failure, the MUA SHOULD prompt the user for a valid identifier.
According to Section 5, service providers SHOULD implement their service so that either the mail address or the "local-part" only is sufficient for authentication. So this should work for most cases.
I propose that for the username Thunderbird should do according to the RFC. If both variants fail, Thunderbird could then fallback to first try out the other auto configuration methods. If any other auto configuration method are configured, Thunderbird could use those and ignore the DNS SRV records. If only the DNS SRV are configured, it could ask the user. If such rare case happens, users should probably know which username they should use. If not, it is still better to only ask for the username instead of currently not implementing DNS SRV because it might not work perfectly and ask the user for the complete server configuration.
To me, it sounds like you want users to have a great experience with Thunderbird. However, I think users will now go to a mail provider which claims to support auto configuration according to common standard (referring to RFC 6186) and they will see that most mail applications support his mail provider out of box, but not Thunderbird, which in my opinion could lead that users might not want to use Thunderbird "because it does not just work".
Updated•2 years ago
|
Description
•