[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

This wiki page explains how to expand Zarafa mail server with push technology for mobile devices. Original article available in french on http://www.badministrateur.com/node/122

Once Zarafa server is installed, it would be nice to share mails, calendars, contacts with a MID. That's where Zarafa's z-push comes in. It's an open source Microsoft ActiveSync comptabile implementation which means your Zarafa mail server becomes compatible with virtually any MID device on the market (Android 2.x and later, IOS, Windows Mobile / Phone...).

Also, you will be able to remote wipe your phone in case it got stolen.

First, let's download latest z-push version (1.5.9 when i wrote this wiki):

# wget http://zarafa-deutschland.de/z-push-download/final/1.5/z-push-1.5.9-1226...

The archive contains a ready to use web site, so let's uncompress it directly into Apache's working directory:

# tar -xvf z-push-1.5.9-1226.tar.gz -C /var/www # mv /var/www/z-push-1.5.9-1226 /var/www/z-push

The state directory contains the mobile devices sync state, so it has to be world writable.

# chmod 777 /var/www/z-push/state

You should set your timezone in /var/www/z-push/config.php

date_default_timezone_set("Europe/Paris");

or if you tried z-push 2.0 beta

define('TIMEZONE', 'Europe/Paris');

And finally, we need to create an apache virtual directory to simulate a Microsoft ActiveSync environment:

Create a file named /etc/httpd/conf.d/zarafa-z-push.conf containing:

Alias /Microsoft-Server-ActiveSync /var/www/z-push/index.php

<Directory /usr/share/z-push/>

Order allow,deny

And apply new settings to apache by running # service httpd reload

To test your environment, navigate to http://myserver/Microsoft-Server-ActiveSync Once authentificated, you should see a page titled Z-push ActiveSync containing some links to the Z-push homepage.

You're now ready to configure your mobile device.


2023-09-11 07:23