This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kontact KDE4 and MS Exchange

Tags: None
(comma "," separated)
bradh
KDE Developer
Posts
4
Karma
0

Re: Kontact KDE4 and MS Exchange

Fri Jul 01, 2011 11:34 pm
There are a few things that need to be done to make this a viable capability. Those things generally need C and C++ developer effort (in the area of a few hundred hours for an experienced developer). That effort could be volunteered, or contract funded.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: Kontact KDE4 and MS Exchange

Tue Jul 05, 2011 7:55 pm
Not email related (yet?), but I think a new developer showed up on kde-pim with a question, saying he was working on a new resource for Exchange calendar based on openchange's libmapi.

Depending on how that goes support for other data types might be viable after that as well.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
Lupo
Registered Member
Posts
5
Karma
0
OS

Re: Kontact KDE4 and MS Exchange

Wed Jul 06, 2011 8:03 am
bradh wrote:... Those things generally need C and C++ developer effort (in the area of a few hundred hours for an experienced developer). That effort could be volunteered, or contract funded.


That sounds way too much for my fundings. Too bad.
divansantana
Registered Member
Posts
2
Karma
0
OS

Re: Kontact KDE4 and MS Exchange

Fri Jul 15, 2011 12:13 pm
This is kinda almost 100% possible.
Requires latest stable kdepim which is currently kdepim 4.6.1.
Anything from kdepim 4.6.0/kmail2/kontact2 will work.
Works via davmail, nd with akonadi resource davgroupware/davical.

You can use the old version to only send/receive email, if that's all you interested in, that's been working for ages. Yes all this requires OWA enabled on server.

For me exchange contact sync is working 100% both ways.
exchange calendar sync is only working from Exchange pushed down to kontact. Not sure why. Any one else know???
LDAP/GAL lookup is working.

Be warned, new kontact/kdepim is very buggy still although with a lot of TLC can be made to work nicely.

You can also disable davmail log file, so no need to rotate it/clean it.

HOWTO below
DavMail Settings:
MAIN
# what is not specified here is otherwise default
OWA: https://www.blah.com/exchange/
Trash keep delay (POP): 1
Sent keep delay (POP): 1
Calendar past events (Caldav): 1

kontact => Mail => Configure KMail => Accounts => Add => POP3 Email Server
Name: Exchange Mail
Incoming mail server: localhost
Username: DOMAIN\username
Password: ThePassword
Check enable interval mail checking: 5 minutes
Add SMTP server
Exchange
Outgoing mail server: localhost
Server requires authentication: check
Username: DOMAIN\username
Password: ThePassword

kontact => Calendar => Add Calendar => DAV groupware resource => DAVical =>
Name: Exchange Calendar
Host: 'write anything here, doesn't matter you will edit it later'
Installation path: 'write anything here, doesn't matter you will edit it later'
uncheck use SSL
Click next, next and finish
Then edit the resource and set the following:
Remote calendar access protocol: CalDAV
Remote URL: http://localhost:1080/users/emailaddr@b ... /calendar/
Username: DOMAIN\username
Password: ThePassword
Click Fetch and OK
Refresh every 30 minutes

kontact => AddressBook => Add Address Book => DAV groupware resource => DAVical =>
Name: Exchange Contacts
Host: 'write anything here, doesn't matter you will edit it later'
Installation path: 'write anything here, doesn't matter you will edit it later'
uncheck use SSL
Click next, next and finish
Then edit the resource and set the following:
Remote calendar access protocol: CardDAV
Remote URL: http://localhost:1080/users/emailaddr@b ... /contacts/
Username: DOMAIN\username
Password: ThePassword
Click Fetch and OK
Refresh every 99 minutes

kontact => settings => Configure Kontact => Contacts => LDAP Server Settings => Add Host
Host: localhost
DN: ou=people
Authentication: Simple
Port: 1389
Bind DN: DOMAIN\username
Password: ThePassword
Click OK
Tick localhost
kontact => Mail => settings => Configure KMail => Composer => Configure completion order => and set LDAP to first
Mar
Registered Member
Posts
3
Karma
0

Re: Kontact KDE4 and MS Exchange

Thu Aug 25, 2011 1:14 pm
If you are using KOrganizer prier to version 4.6.0/kmail2/kontact2 you can still use davmail for MS Exchange callender. Just install the kcaldav plugin from http://code.google.com/p/kcaldav/
KenP
Registered Member
Posts
19
Karma
0
OS

Re: Kontact KDE4 and MS Exchange

Tue Mar 06, 2012 11:58 am
divansantana wrote:This is kinda almost 100% possible.
Requires latest stable kdepim which is currently kdepim 4.6.1.
Anything from kdepim 4.6.0/kmail2/kontact2 will work.
Works via davmail, nd with akonadi resource davgroupware/davical.

You can use the old version to only send/receive email, if that's all you interested in, that's been working for ages. Yes all this requires OWA enabled on server.

For me exchange contact sync is working 100% both ways.
exchange calendar sync is only working from Exchange pushed down to kontact. Not sure why. Any one else know???
LDAP/GAL lookup is working.

Be warned, new kontact/kdepim is very buggy still although with a lot of TLC can be made to work nicely.

You can also disable davmail log file, so no need to rotate it/clean it.

HOWTO below
DavMail Settings:
MAIN
# what is not specified here is otherwise default
OWA: https://www.blah.com/exchange/
Trash keep delay (POP): 1
Sent keep delay (POP): 1
Calendar past events (Caldav): 1

kontact => Mail => Configure KMail => Accounts => Add => POP3 Email Server
Name: Exchange Mail
Incoming mail server: localhost
Username: DOMAIN\username
Password: ThePassword
Check enable interval mail checking: 5 minutes
Add SMTP server
Exchange
Outgoing mail server: localhost
Server requires authentication: check
Username: DOMAIN\username
Password: ThePassword

kontact => Calendar => Add Calendar => DAV groupware resource => DAVical =>
Name: Exchange Calendar
Host: 'write anything here, doesn't matter you will edit it later'
Installation path: 'write anything here, doesn't matter you will edit it later'
uncheck use SSL
Click next, next and finish
Then edit the resource and set the following:
Remote calendar access protocol: CalDAV
Remote URL: http://localhost:1080/users/emailaddr@b ... /calendar/
Username: DOMAIN\username
Password: ThePassword
Click Fetch and OK
Refresh every 30 minutes

kontact => AddressBook => Add Address Book => DAV groupware resource => DAVical =>
Name: Exchange Contacts
Host: 'write anything here, doesn't matter you will edit it later'
Installation path: 'write anything here, doesn't matter you will edit it later'
uncheck use SSL
Click next, next and finish
Then edit the resource and set the following:
Remote calendar access protocol: CardDAV
Remote URL: http://localhost:1080/users/emailaddr@b ... /contacts/
Username: DOMAIN\username
Password: ThePassword
Click Fetch and OK
Refresh every 99 minutes

kontact => settings => Configure Kontact => Contacts => LDAP Server Settings => Add Host
Host: localhost
DN: ou=people
Authentication: Simple
Port: 1389
Bind DN: DOMAIN\username
Password: ThePassword
Click OK
Tick localhost
kontact => Mail => settings => Configure KMail => Composer => Configure completion order => and set LDAP to first



Does this still work with 4.8 Kontact? I get an error (404) when setting up the calendar.

[UPDATE] Got calendar and GAL to work after installing Davmail. Thanks.


KenP, proud to be a member of KDE forums since 2008-Oct.
adelow
Registered Member
Posts
1
Karma
0

Re: Kontact KDE4 and MS Exchange

Thu Aug 29, 2013 1:57 pm
Don't forget to dissable proxy for localhost (if applicable) ;)

Regards,
L.Adelow


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell