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

Michael Menge michael.menge at zdv.uni-tuebingen.de
Mon Jul 26 07:35:16 UTC 2021


Hi,

Quoting Christoph Haas <christoph+horde at haas-online.org>:

> 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?
>>
>
> did you include the autodiscover-settings in the Apache-config?
>

Thanks for the hint. We had not included the autodiscover-settings  
because we use
automx to provide autodiscover for Outlook and autoconfig for  
Thunderbird and therefor
i thought that we did not need autodiscover in horde.

> 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
>

The rewirte rules caused all ActiveSync connections to fail so I had  
to disable them.
I didn't had the time to debug the problem further.






--------------------------------------------------------------------------------
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



More information about the horde mailing list