[kmail2] [Bug 467734] New: Automatic detection of email providers using Office 365
Louis Moureaux
bugzilla_noreply at kde.org
Thu Mar 23 23:37:24 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=467734
Bug ID: 467734
Summary: Automatic detection of email providers using Office
365
Classification: Applications
Product: kmail2
Version: 5.22.3
Platform: Neon
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: config dialog
Assignee: kdepim-bugs at kde.org
Reporter: m_louis30 at yahoo.com
Target Milestone: ---
Microsoft provides many organization emails around the world through its Office
365 product so it would be good to have first-class support in KMail. KMail
already features EWS support, but setting it up for O365 is far from intuitive
[1].
Fortunately, detecting O365 emails is easy. If the address is user at example.com:
1. Perform a MX DNS lookup for example.com
2. Look at the first exchange record. The provider uses Office 365 if the
exchange is of
the form:
example-com.mail.protection.outlook.com
One can then reasonably assume that Office 365 EWS is supported.
Adding this simple check to the account setup wizard could enhance its results
for a large number of (corporate) domains. Saving the users from the hassle of
setting up EWS all resources (incoming, outgoing, contacts, calendar) by hand
would be a significant improvement.
[1] https://userbase.kde.org/Kmail/Configuring_Kmail/Accounts/Office_365
ADDITIONAL INFORMATION
Office 365 setup instructions with MX record details:
https://learn.microsoft.com/en-us/microsoft-365/admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider?view=o365-worldwide#add-an-mx-record-for-email-outlook-exchange-online
Some example domains using O365 (as of 2023): ulb.be, student.uclouvain.be,
cern.ch
In my testing, QDnsLookup did the MX lookups perfectly well.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list