Open Source Mobile Push Mail

You might also be interested in the Funambol solution:


I'm doing this as a gateway, please see the following articles for ideas about running this on the same machine, for purposes of this article a separate VM is a good demo.





Apologies for it's current un-formatted and simplistic state:

Istall OS (CentOS 5.2 32b on
yum install httpd
yum install php
yum install php-imap
service httpd restart
wget http://z-pushURL
tar -xvf z-push-1.x.tar.gz -C /var/www/html/
chown -R apache.apache /var/www/html/z-push/state
chmod 755 var/www/html/z-push/state
nano /etc/httpd/conf.d/z-push.conf
Alias /Microsoft-Server-ActiveSync /var/www/html/z-push/
php_flag magic_quotes_gpc off
php_flag register_globals off
php_flag magic_quotes_runtime off
php_flag short_open_tag on
service httpd reload
nano /var/www/html/z-push/conf.php
Change the line that by default reads date_default_timezone_set("Europe/Amsterdam"); to your desired.
Change the Badkend provider to $BACKEND_PROVIDER = "BackendIMAP";
Change define('IMAP_SERVER', 'localhost'); to define('IMAP_SERVER', '');
Change define('IMAP_DEFAULTFROM', ''); to define('IMAP_DEFAULTFROM', '');
service httpd reload

Note that z-push still polls your ZCS IMAP server for E-mails on regular intervals, but once it has has received an email it will send it instantly (assuming a healthy ActiveSync device connection, also set 'as items arrive' on the mobile device).

Next up: Performance testing, deploying on localhost, certs, SSL, & misc security for this...and other items besides mail if I get a chance.

Verified Against: unknown Date Created: 10/23/2008
Article ID: Date Modified: 2015-03-24

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search