[horde] ActiveSync problem - iPhone4s not registered

Andreas Mauser andreas at mauser.info
Sat Mar 16 16:48:41 UTC 2013


----- Nachricht von Karol Pomaski <karol.pomaski at gmail.com> ---------
   Datum: Sat, 16 Mar 2013 10:06:58 -0600
     Von: Karol Pomaski <karol.pomaski at gmail.com>
Betreff: [horde] ActiveSync problem - iPhone4s not registered
      An: horde at lists.horde.org


> Hi All,
>
> Well so I have already installed the newest version of the Horde 5. I am
> using PHP 5.4 and Apache 2.2.16 based on Debian 6 Squeeze.
> Everything works except the ActiveSync. I am using iPhone 4s for testing.
>
> Inside the Apache I have added those lines:
>
> Alias /Microsoft-Server-ActiveSync /var/www/example.com/mail/rpc.php
>
> <Directory /var/www/example.com/mail>
>            Options +FollowSymLinks
>            AllowOverride All
>            order allow,deny
>            allow from all
>            AddType application/x-httpd-php .php
>            php_value include_path ".:/usr/share/php"
>            php_value open_basedir "none"
>            php_value upload_tmp_dir "/var/www/example.com/mail/phptmp/"
> </Directory>
>
> php_flag magic_quotes_gpc off
> php_flag register_globals off
> php_flag magic_quotes_runtime off
> php_flag short_open_tag on
>
> The problem is that the iPhone 4s does not get registered inside the Horde.
> Thats rare. I was trying also to disable the SSL but still the same problem.
>
> I know that ActiveSync module in Horde is based on Z-Push thats why I have
> installed the Z-Push to make some tests With Z-Push my devices gets
> registered without any problem and it can download the mails.
>
> I have also made on step further, I have configured the z-push inside the
> apache (with the config from above) and registered my iPhone4s, than I have
> changed the apache config so that the alias /Microsoft-Server-ActiveSync
> points to Horde's /var/www/example.com/mail/rpc.php and the device appeared
> inside the Horde.
>
> Alias /Microsoft-Server-ActiveSync /usr/share/z-push/index.php
> <Directory "/usr/share/z-push/">
>       Options -Indexes
>       AllowOverride None
>       Order allow,deny
>       allow from all
> </Directory>
>
> php_flag magic_quotes_gpc off
> php_flag register_globals off
> php_flag magic_quotes_runtime off
> php_flag short_open_tag on
>
> Later when I tried to add one more device from exchange the error appeared
> and I was not more able to download my emails. Calendar and task sync was
> not working.

And I have not seen a ActiveSync config in your config, maybe you miss

## Horde ActiveSync

Alias /Microsoft-Server-ActiveSync  
"/var/www/html/mauser.info/mailoffice/rpc.php"
Alias /autodiscover/autodiscover.xml  
"/var/www/html/mauser.info/mailoffice/rpc.php"
Alias /AutoDiscover/AutoDiscover.xml  
"/var/www/html/mauser.info/mailoffice/rpc.php"
#Alias /ews "/var/www/html/mauser.info/mailoffice/rpc.php"

RewriteEngine On
RewriteRule ^/Microsoft-Server-ActiveSync /mailoffice/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}]


in your virtual host?

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5014 bytes
Desc: S/MIME Signatur
URL: <http://lists.horde.org/archives/horde/attachments/20130316/b2b00b40/attachment.bin>


More information about the horde mailing list