Setup Kmail & Davmail to connect to an Exchange server
Preamble
It is best to start by asking your company’s IT-manager for details cause they can and will be different from mine.
In Davmail you need to change just a few settings, all but one on the Main TAB of the settings window.
Davmail
Main Tab
Exchange Protocol: I needed to set it to EWS but that can be different for you, so ask your IT-manager.
OWA (Exchange) URL: http(s)://mail./owa
Port numbers: are setup the way they should be so don’t change those. As you can see they are the normal port numbers for the different services added with 1000: POP is normally 110, now it is 1110, etc.
Delays: no need to change those cause the default settings work just fine
Advanced Tab
SMTP save in sent: UNCHECK If it is checked Davmail stores a copy of your sent mail in your sent mail folder, just as your mail program does. You end up with 2 copies of every sent mail. Just uncheck this item.
That’s all for Davmail.
Kmail
For Kmail you need to setup an Identity and an e-mail account.
The new identity gets only a few filled out details. On the General TAB I filled out my name and my e-mail address.
Advanced TAB
On the Advanced TAB I chose the Sent and Drafts folders on the company’s server so I can also reach them when I am at the company. The default domain is your company’s domain, the IT manager knows it if you are unsure.
All other TABs are left as is.
Add your company's e-mail account in Kmail
First we look at the Receiving mail
General TAB
On the general TAB you fill out a name for the account. This can anything but I chose the name of the company so I can easily see which account it is. IMAP server: localhost. Davmail is your server and it is local so you address it is localhost. Username: does it for me. Ask IT for details. Password: is your normal password for this mail account.
Advanced TAB
Chose the new identity as the one you use for this account.
Connection Settings: I had to chose Encryption: None, Port 1993 for IMAP and authentication: Clear text but these are details which can and probably will be different for your situation so ask IT.
Now we handle the Sending mail
General Tab
Outgoing mail server: localhost Server requires authentication: on Login: Password: ******** If you like you can check the Store SMTP password.
Advanced TAB
Encryption: None Port: 1025 for SMTP Authentication: LOGIN
Summation
And that’s it. This works for me but as said several times before: it can and will be different for your company so ask for the details.