Discussion:
[Davmail-users] davmail against exchange 2016 with iOS 10.2
Hendl Stephan
2017-01-16 10:16:55 UTC
Permalink
Hi list,

 
I’ve set up a davmail server (Debian) wich connects to Exchgange 2016 and opened caldav port only.

 
# Server or workstation mode

davmail.server=true

# connection mode auto, EWS or WebDav

davmail.enableEws=EWS

# base Exchange OWA or EWS url

davmail.url=https://<exchange.domain.tld>/ews/exchange.asmx

 
# Listener ports

davmail.caldavPort=1080

davmail.imapPort=

davmail.ldapPort=

davmail.popPort=

davmail.smtpPort=

 
The connection with Thunderbird/Lightning worked as expected but we’ve problems with iOS. We used the manual provided here: http://davmail.sourceforge.net/iphonecaldavsetup.html <http://davmail.sourceforge.net/iphonecaldavsetup.html> but got errors like:

 
2017-01-16 11:04:30,844 ERROR [CaldavConnection-45358] davmail  - Unsupported request: PROPFIND https:/<exchangeserver.domain.tld>/principals/users/***@domain.tld/ Depth: 0

<?xml version="1.0" encoding="UTF-8"?>

<A:propfind xmlns:A="DAV:">

  <A:prop>

    <A:current-user-principal/>

    <A:principal-URL/>

    <A:resourcetype/>

  </A:prop>

</A:propfind>

 
I’m confused about the “https:/<exchangeserver…” There is no one “/” in the log. Are there any special things to take into account when using Android devices?

 
Thanks and regards

Stephan
Geert Stappers
2017-01-16 20:47:46 UTC
Permalink
Post by Hendl Stephan
Hi list,
[ ... ]
The text says:
Enable SSL and check port, make sure Account URL is https://davmailhost:1080/principals/users/***@company.com:
The picture however shows port 10080. I think the port numbers should match.
Please correct me when wrong.
Post by Hendl Stephan
<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:current-user-principal/>
<A:principal-URL/>
<A:resourcetype/>
</A:prop>
</A:propfind>
I?m confused about the ?https:/<exchangeserver?? There is no one ?/? in the log.
Are there any special things to take into account when using Android devices?
Hendl Stephan
2017-01-17 06:48:04 UTC
Permalink
Portnumber was correct but we had an error in the reverse proxy config. It is fixed now and works as expected. Thanks for reply.

Regards
Stephan

-----Ursprüngliche Nachricht-----
Von: Geert Stappers [mailto:***@stappers.nl]
Gesendet: Montag, 16. Januar 2017 21:48
An: davmail-***@lists.sourceforge.net
Betreff: Re: [Davmail-users] davmail against exchange 2016 with iOS 10.2
Post by Hendl Stephan
Hi list,
[ ... ]
The text says:
Enable SSL and check port, make sure Account URL is https://davmailhost:1080/principals/users/***@company.com:
The picture however shows port 10080. I think the port numbers should match.
Please correct me when wrong.
Post by Hendl Stephan
<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:current-user-principal/>
<A:principal-URL/>
<A:resourcetype/>
</A:prop>
</A:propfind>
I?m confused about the ?https:/<exchangeserver?? There is no one ?/? in the log.
Are there any special things to take into account when using Android devices?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Davmail-users mailing list
Davmail-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davmail-users
Mickaël Guessant
2017-01-17 23:08:59 UTC
Permalink
Post by Hendl Stephan
The connection with Thunderbird/Lightning worked as expected but we’ve
2017-01-16 11:04:30,844 ERROR [CaldavConnection-45358] davmail -
Unsupported request: PROPFIND
Depth: 0
<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:current-user-principal/>
<A:principal-URL/>
<A:resourcetype/>
</A:prop>
</A:propfind>
I’m confused about the “https:/<exchangeserver…” There is no one “/”
in the log. Are there any special things to take into account when
using Android devices?
=> Confused, are you trying to setup an iPhone or an Android ?
=> Well Android is not iOS, you should probably use direct calendar url
for Android instead, i.e. the same you use for Lightning

See http://davmail.sourceforge.net/faq.html for some suggestions
--
Mickael Guessant
mailto:***@free.fr
Loading...