[horde] ActiveSync not working with Outlook for iOS and Android

Christoph Haas christoph+horde at haas-online.org
Tue Jul 20 11:29:02 UTC 2021


Hello Michael,

----- Nachricht von Michael Menge <michael.menge at zdv.uni-tuebingen.de>  
---------
   Datum: Tue, 20 Jul 2021 10:10:41 +0200
     Von: Michael Menge <michael.menge at zdv.uni-tuebingen.de>
Betreff: [horde] ActiveSync not working with Outlook for  iOS and Android
      An: horde at lists.horde.org


> Hi,
>
> one of our users wants to Sync Mail and Calendar with "Outlook for  
> iOS and Android", but it is not working.
>
> In the logs i can find an OPTIONS request and a PROVISION request.  
> Both are repeated every 30-60 min.
> But there are no other Requests like SYNC, PING, FOLDERSYNC or  
> SETTINGS requests.
>
> I can't find any error messages.
>
> Should "Outlook for iOS and Android 1.0" be able to Sync with Horde  
> (horde 5.2.23, Horde_ActiveSync 2.41.5)?
>
> Any ideas how to debug this problem?
>
> Here are the logs for one set of requests
>
> [2191377][2021-07-20T00:09:19+02:00] INFO:  
> ----------Horde_Core_ActiveSync_Driver::authenticate() attempt for  
> xxxxxxx----------
> [2191377][2021-07-20T00:09:19+02:00] INFO: ----------OPTIONS request  
> received for user xxxxxxx
> [2191377][2021-07-20T00:09:19+02:00] INFO: User xxxxxxx logged off
> [3278268][2021-07-20T00:09:19+02:00] INFO:  
> ----------Horde_Core_ActiveSync_Driver::authenticate() attempt for  
> xxxxxxx----------
> [3278268][2021-07-20T00:09:20+02:00] INFO: ----------PROVISION  
> request received for user xxxxxxx
> [3278268][2021-07-20T00:09:20+02:00] INFO: ----------Request being  
> handled for device: CE499174FDAA4CC5BCB282356666BDDF, of type:  
> Outlook, supporting protocol version: 14.1, using Horde_ActiveSync  
> v2.41.5
> [3278268][2021-07-20T00:09:20+02:00] I: <Provision:Provision>
> [3278268][2021-07-20T00:09:20+02:00] I:  <Settings:DeviceInformation>
> [3278268][2021-07-20T00:09:20+02:00] I:   <Settings:Set>
> [3278268][2021-07-20T00:09:20+02:00] I:    <Settings:UserAgent>
> [3278268][2021-07-20T00:09:20+02:00] I:      Outlook-iOS-Android/1.0
> [3278268][2021-07-20T00:09:20+02:00] I:    </Settings:UserAgent>
> [3278268][2021-07-20T00:09:20+02:00] I:    <Settings:Model>
> [3278268][2021-07-20T00:09:20+02:00] I:      Outlook for iOS and Android
> [3278268][2021-07-20T00:09:20+02:00] I:    </Settings:Model>
> [3278268][2021-07-20T00:09:20+02:00] I:    <Settings:OS>
> [3278268][2021-07-20T00:09:20+02:00] I:      OutlookBasicAuth
> [3278268][2021-07-20T00:09:20+02:00] I:    </Settings:OS>
> [3278268][2021-07-20T00:09:20+02:00] I:   </Settings:Set>
> [3278268][2021-07-20T00:09:20+02:00] I:  </Settings:DeviceInformation>
> [3278268][2021-07-20T00:09:20+02:00] I:  <Provision:Policies>
> [3278268][2021-07-20T00:09:20+02:00] I:   <Provision:Policy>
> [3278268][2021-07-20T00:09:20+02:00] I:    <Provision:PolicyType>
> [3278268][2021-07-20T00:09:20+02:00] I:      MS-EAS-Provisioning-WBXML
> [3278268][2021-07-20T00:09:20+02:00] I:    </Provision:PolicyType>
> [3278268][2021-07-20T00:09:20+02:00] I:   </Provision:Policy>
> [3278268][2021-07-20T00:09:20+02:00] I:  </Provision:Policies>
> [3278268][2021-07-20T00:09:20+02:00] I: </Provision:Provision>
> [3278268][2021-07-20T00:09:20+02:00] O: <Provision:Provision>
> [3278268][2021-07-20T00:09:20+02:00] O:  <Provision:Status>
> [3278268][2021-07-20T00:09:20+02:00] O:   1
> [3278268][2021-07-20T00:09:20+02:00] O:  </Provision:Status>
> [3278268][2021-07-20T00:09:20+02:00] O:  <Provision:Policies>
> [3278268][2021-07-20T00:09:20+02:00] O:   <Provision:Policy>
> [3278268][2021-07-20T00:09:20+02:00] O:    <Provision:Status>
> [3278268][2021-07-20T00:09:20+02:00] O:     2
> [3278268][2021-07-20T00:09:20+02:00] O:    </Provision:Status>
> [3278268][2021-07-20T00:09:20+02:00] O:   </Provision:Policy>
> [3278268][2021-07-20T00:09:20+02:00] O:  </Provision:Policies>
> [3278268][2021-07-20T00:09:20+02:00] O: </Provision:Provision>
> [3278268][2021-07-20T00:09:20+02:00] INFO: Maximum memory usage for  
> ActiveSync request: 4194304 bytes.
>
>
> Kind Regards
>
>    Michael Menge
>
> --------------------------------------------------------------------------------
> Michael Menge                          Tel.: (49) 7071 / 29-70316
> Universität Tübingen                   Fax.: (49) 7071 / 29-5912
> Zentrum für Datenverarbeitung          mail:  
> michael.menge at zdv.uni-tuebingen.de
> Wächterstraße 76
> 72074 Tübingen
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


----- Ende der Nachricht von Michael Menge  
<michael.menge at zdv.uni-tuebingen.de> -----

did you include the autodiscover-settings in the Apache-config?

for Debian:
# Enable ActiveSync
<Directory /var/www/html/horde>
     Order allow,deny
     Allow from all
</Directory>

Alias /Microsoft-Server-ActiveSync /var/www/html/horde/rpc.php
Alias /autodiscover/autodiscover.xml /var/www/html/horde/rpc.php
Alias /Autodiscover/Autodiscover.xml /var/www/html/horde/rpc.php
Alias /AutoDiscover/AutoDiscover.xml /var/www/html/horde/rpc.php

RewriteEngine On
RewriteRule ^/Microsoft-Server-ActiveSync /horde/rpc.php [PT,L,QSA]

RewriteRule .* - [E=HTTP_MS_ASPROTOCOLVERSION:%{HTTP:Ms-Asprotocolversion}]
RewriteRule .* - [E=HTTP_X_MS_POLICYKEY:%{HTTP:X-Ms-Policykey}]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# End Enable ActiveSync


Cheers from Stuttgart
Christoph.



-- 
christoph+horde at haas-online.org



More information about the horde mailing list