No sync contacts from exchange owa to Thunderbird

Help
t2_tom
2013-11-27
2013-12-09
  • t2_tom
    t2_tom
    2013-11-27

    Hi,
    i use Davmail to sync mail, calendar and contacts from exchange server to thunderbird.
    All works well but when i create a new contacts in exchange owa, it don't sync in TB, if i create a new contacts in TB it sync in exchange owa, and if i delete it from exchange it delete from TB too.
    Can you help me?
    thanks

    Log:
    2013-11-27 09:41:29,843 DEBUG [CaldavConnection-53913] davmail - Connection closed
    2013-11-27 09:41:29,843 INFO [AWT-EventQueue-0] davmail - DavMail Gateway 4.4.0-2198 listening on SMTP port 587 POP port 110 IMAP port 993 CALDAV port 80 LDAP port 389
    2013-11-27 09:41:29,859 DEBUG [davmail.caldav.CaldavServer] davmail - Connection from /0:0:0:0:0:0:0:1 on port 80
    2013-11-27 09:41:29,859 DEBUG [CaldavConnection-54438] davmail - < PROPFIND /users/ced%40spagnol.it/calendar/ HTTP/1.1
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Host: localhost
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 Lightning/2.6.3
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Accept: text/xml
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Accept-Encoding: gzip, deflate
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Accept-Charset: utf-8,;q=0.1
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Content-Length: 150
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Content-Type: text/xml; charset=utf-8
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Depth: 0
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Authorization:
    *
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Connection: keep-alive
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Pragma: no-cache
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail - < Cache-Control: no-cache
    2013-11-27 09:41:30,093 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - < <?xml version="1.0" encoding="UTF-8"?>
    <D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/"><D:prop><CS:getctag/></D:prop></D:propfind>
    2013-11-27 09:41:30,249 DEBUG [CaldavConnection-54438] davmail - executeFollowRedirects(https://mail.spagnol.it/owa)
    2013-11-27 09:41:30,280 DEBUG [CaldavConnection-54438] davmail - executeFollowRedirects: /owa/ redirectCount:1
    2013-11-27 09:41:30,311 DEBUG [CaldavConnection-54438] davmail - executeFollowRedirects: https://mail.spagnol.it/OWA/auth/logon.aspx?url=https://mail.spagnol.it/OWA/&reason=0 redirectCount:2
    2013-11-27 09:41:30,342 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Form based authentication detected
    2013-11-27 09:41:30,342 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Detected script based logon, redirect to form at https://mail.spagnol.it/OWA/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fmail.spagnol.it%2fOWA%2f
    2013-11-27 09:41:30,342 DEBUG [CaldavConnection-54438] davmail - executeFollowRedirects(https://mail.spagnol.it/OWA/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fmail.spagnol.it%2fOWA%2f)
    2013-11-27 09:41:30,732 DEBUG [CaldavConnection-54438] davmail - executeFollowRedirects(https://mail.spagnol.it/owa/auth.owa)
    2013-11-27 09:41:30,904 DEBUG [CaldavConnection-54438] davmail - executeFollowRedirects: https://mail.spagnol.it/OWA/ redirectCount:1
    2013-11-27 09:41:30,997 DEBUG [CheckRelease] davmail.DavGateway - DavMail released version: 4.4.0-2198
    2013-11-27 09:41:33,649 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Current user email is ced@spagnol.it, alias is ced@spagnol.it5eb on Exchange2010_SP1
    2013-11-27 09:41:33,649 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Session davmail.exchange.ews.EwsExchangeSession@13d0fea created
    2013-11-27 09:41:33,649 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Created new session: davmail.exchange.ews.EwsExchangeSession@13d0fea
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > HTTP/1.1 207 Multi-Status
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Server: DavMail Gateway 4.4.0-2198
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Date: Wed, 27 Nov 2013 08:41:33 +0000
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Expires: Wed, 27 Nov 2013 08:41:33 +0000
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Cache-Control: private, max-age=0
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Transfer-Encoding: chunked
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Content-Type: text/xml;charset=UTF-8
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > Connection: keep-alive
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > 1b7
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - > <?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:E="urn:ietf:params:xml:ns:carddav"><D:response><D:href>/users/ced@spagnol.it/calendar/</D:href><D:propstat><D:prop><CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxMy0xMS0yN1QwNzoxNTo0NloyMDEzLTEwLTMxVDA5OjAxOjA5Wg==</CS:getctag></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - > 0
    2013-11-27 09:41:33,727 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < PROPFIND /users/ced%40spagnol.it/inbox/ HTTP/1.1
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Host: localhost
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 Lightning/2.6.3
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Accept: text/xml
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Accept-Encoding: gzip, deflate
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Accept-Charset: utf-8,;q=0.1
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Content-Length: 144
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Content-Type: text/xml; charset=utf-8
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Depth: 1
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Authorization:
    *
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Connection: keep-alive
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Pragma: no-cache
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail - < Cache-Control: no-cache
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - < <?xml version="1.0" encoding="UTF-8"?>
    <D:propfind xmlns:D="DAV:"><D:prop><D:getcontenttype/><D:resourcetype/><D:getetag/></D:prop></D:propfind>
    2013-11-27 09:41:33,743 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Got session davmail.exchange.ews.EwsExchangeSession@13d0fea from cache
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > HTTP/1.1 207 Multi-Status
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Server: DavMail Gateway 4.4.0-2198
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Date: Wed, 27 Nov 2013 08:41:33 +0000
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Expires: Wed, 27 Nov 2013 08:41:33 +0000
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Cache-Control: private, max-age=0
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Transfer-Encoding: chunked
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Content-Type: text/xml;charset=UTF-8
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - > Connection: keep-alive
    2013-11-27 09:41:33,774 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:41:33,805 DEBUG [CaldavConnection-54438] davmail - > 21b
    2013-11-27 09:41:33,805 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - > <?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:E="urn:ietf:params:xml:ns:carddav"><D:response><D:href>/users/ced@spagnol.it/inbox/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/><C:schedule-inbox xmlns:C="urn:ietf:params:xml:ns:caldav"/></D:resourcetype><D:getcontenttype>text/calendar; component=vevent</D:getcontenttype><D:getetag>MjAxMy0xMS0yN1QwODozOTo1OFo=</D:getetag></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
    2013-11-27 09:41:33,805 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:41:33,805 DEBUG [CaldavConnection-54438] davmail - > 0
    2013-11-27 09:41:33,805 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < PROPFIND /users/ced%40spagnol.it/calendar/ HTTP/1.1
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Host: localhost
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 Lightning/2.6.3
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Accept: text/xml
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Accept-Encoding: gzip, deflate
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Accept-Charset: utf-8,;q=0.1
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Content-Length: 150
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Content-Type: text/xml; charset=utf-8
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Depth: 0
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Authorization:
    *
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Connection: keep-alive
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Pragma: no-cache
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail - < Cache-Control: no-cache
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - < <?xml version="1.0" encoding="UTF-8"?>
    <D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/"><D:prop><CS:getctag/></D:prop></D:propfind>
    2013-11-27 09:42:29,872 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Got session davmail.exchange.ews.EwsExchangeSession@13d0fea from cache
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > HTTP/1.1 207 Multi-Status
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Server: DavMail Gateway 4.4.0-2198
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Date: Wed, 27 Nov 2013 08:42:29 +0000
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Expires: Wed, 27 Nov 2013 08:42:29 +0000
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Cache-Control: private, max-age=0
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Transfer-Encoding: chunked
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Content-Type: text/xml;charset=UTF-8
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > Connection: keep-alive
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > 1b7
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - > <?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:E="urn:ietf:params:xml:ns:carddav"><D:response><D:href>/users/ced@spagnol.it/calendar/</D:href><D:propstat><D:prop><CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxMy0xMS0yN1QwNzoxNTo0NloyMDEzLTEwLTMxVDA5OjAxOjA5Wg==</CS:getctag></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - > 0
    2013-11-27 09:42:29,981 DEBUG [CaldavConnection-54438] davmail - >
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < PROPFIND /users/ced%40spagnol.it/inbox/ HTTP/1.1
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Host: localhost
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 Lightning/2.6.3
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Accept: text/xml
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Accept-Encoding: gzip, deflate
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Accept-Charset: utf-8,;q=0.1
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Content-Length: 144
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Content-Type: text/xml; charset=utf-8
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Depth: 1
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Authorization:
    *
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Connection: keep-alive
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Pragma: no-cache
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail - < Cache-Control: no-cache
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail.caldav.CaldavConnection - < <?xml version="1.0" encoding="UTF-8"?>
    <D:propfind xmlns:D="DAV:"><D:prop><D:getcontenttype/><D:resourcetype/><D:getetag/></D:prop></D:propfind>
    2013-11-27 09:42:29,997 DEBUG [CaldavConnection-54438] davmail.exchange.ExchangeSession - Got session davmail.exchange.ews.EwsExchangeSession@13d0fea from cache
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > HTTP/1.1 207 Multi-Status
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > Server: DavMail Gateway 4.4.0-2198
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > Date: Wed, 27 Nov 2013 08:42:30 +0000
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > Expires: Wed, 27 Nov 2013 08:42:30 +0000
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > Cache-Control: private, max-age=0
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > Transfer-Encoding: chunked
    2013-11-27 09:42:30,028 DEBUG [CaldavConnection-54438] davmail - > Content-Type: text/xml;charset=UTF-8

     
  • You log statements contain only Caldav, not Carddav requests.

    Anyway, contact sync is not immediate, you may have to force sync manually.