
DavMail reports client disconnect and stops the session.The Kmail sync process is getting killed by Kmail.The process moves very slowly, sometimes advancing to 10% (sent folder did), sometimes not really.ĭavmail shows in the logs that is connected and starts loading items.It starts the process of sync Inbox or sent items.The problem i'm experiencing is that Kmail is having problems syncing big folders. Now go back up a step to Configure client.I'm making an attempt to set up Kmail and the whole Kontakt suite to work with office 365 - instead of evoluiton. davmail.properties (~/.davmail.properties). Save this file to your home directory as. Here is a file named davmail.properties with the settings I described above. If you reboot, or quit/restart DavMail, you will need to reauthenticate. DavMail needs to be running for this to work, so you may want to add it to your Login items in Users & Groups Preference Pane. You’re now using IMAP and POP with a Modern Auth middledman running on your laptop. If you’re configured for MFA, you will then get your preferred authentication method.Ĭongrats.

This is the same behavior you get if you visit or. On checking your mail, you will get a popup window asking you to login to Office365.
#Davmail setup password#
For outgoing SMTP mail, use localhost, port 1025, no encryption, password authentication.Make sure username is or whatever else you use to login to.(This is okay, it’s a local connection on your machine and nothing is sent cleartext across the network.) Make sure your IMAP client is using host localhost, port 1143, and No SSL/TLS/Connection security.These directions presume you didn’t change the defaults above. Depending on your client, you’ll need to point it at your new setup.They’ll be handy when setting up your mail client. Take note of the ports on this screen.For Exchange Protocol, choose “o365Interactive”.I’ll describe how you can set it up, or you can skip to the end for a method to use the config file I used when setting this up. You’ll get the settings pane for DavMail.Click Open Anyway and you’re on the road. After that, go to your Security and Privacy Preference Pane and you should see something like this. It will probably fail or complain depending on your OS. It’s unsigned, so you need to jump through hoops to run it. app bundle you can move to your Applications folder.
#Davmail setup code#


This guide is written for macOS Catalina, which also requires Java 8 SE. Depending on your OS, you may need other tools. If your mail client uses IMAP/POP and there’s no way around it, you can use DavMail as an intermediary which will accept your POP/IMAP connections, translate them to OWA calls, and let you continue to use your client, while still supporting MFA.Īside from your usual mail client, you will need DavMail. If you do this, you’re doing it on your own. We are providing this guide as a courtesy.
