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,]