First of all, thanks a lot for this awesome app! This app is free software and just works very well and is super userfriendly! I could install it on phones of non technical people
But I noticed one issue. For one domain I manage, the imap and smtp settings are automatically detected on Thunderbird but not in K9-Mail. While this isnât a big issue, could this be improved in some way?
I will explain more the issue I had
To connect to the email address contact@domain.com Thunderbird automatically detects that imap and smtp are locate at the domain domain.com while K9-Mail sets the imap and smtp subdomains. When doing the automatic parameter detection nothing is changed. I know some dns entry could maybe help K9-Mail to work, but Thunderbird managed to configure it successfully without more dns entries, so it would be cool if K9 did it as simply!
MUAs like Thunderbird and Outlook check DNS for setup information first. If they donât find the information, theyâll ask the user. These manual settings are then transferred to servers operated by Mozilla/M$/⌠(potentially illegally in Europe as users are not made aware of this)
When sufficiently many users have manually set the same settings, Thunderbird and Outlook will start âautomatically detectingâ the settings by retrieving them from the Mozilla/M$/⌠servers.
I do not think K-9 operates such âsettings servers,â nor should the project do so. As mentioned, there is a liability issue with user data from Europe.
Well thanks @tchara for your comment, but as I explained in my first post, my email server is on a ânewâ custom domain, so Mozilla canât be aware of the settings as nobody had entered manually the settings of this domain already.
So Thunderbird has probably, as you said, checked the dns, to retrieve information and it would be cool if K9 could do the same
Thunderbird might also just âbrute forceâ common settings such as subdomains (mail, smtp, imap, pop, pop3, âŚ) as well as ports and security settings (993/StartTLS, 993/SSL, âŚ).
Personally, I think this should not be done, even though itâs convenient. It can trigger overly strict firewalls and lead to false IP reports if combines with OWASP and badip.
Well Iâm not an expert on this topic, so I donât have a strong opinion.
But if Thunderbird is doing like this, they might have good reasons and have thought about possible drawbacks.
The standards-based way to do this is with the DNS âSRVâ record (see: https://datatracker.ietf.org/doc/rfc6186/). Any other approach is basically brute force, and should really be discouraged.
but didnât find them for any other major mail service provider (MSP). If your MSP has SRV records, then it might be reasonable to put in a K-9 enhancement request. If it doesnât, start by asking them to add SRV records. [I havenât looked at the K-9 code to see if it already does SRV record discovery,]
I know this is an older topic, but the primary mechanism for Thunderbirdâs autodiscovery wasnât mentioned, and someone else might stumble over this:
Itâs just a small xml file, retrieved from a webserver, that tells Thunderbird (and Evolution, KMail and Kontact) how to configure the server settings.
Thunderbird will try to fetch this file from multiple possible locations, based on the email domain. No brute force required. (Well, yes if you consider a DNS query and one HTTP GET brute force, lol.)
It would be really nice if K9 Mail suppported this mechanism, too.
Hi, I am very excited about this feature. But by reading the source code, it seems that the autoconfig query based on SRV records is not enabled? May I ask if your team is planning to support it later?