Today I tried to activate push mail for my private mail server. And what should I say... It works like a charm.
- Dovecot IMAP
- NGINX configured with SSL
To activate get the latest version of Z-Push. Unpack to /usr/share/z-push. Now you need to make some configuration changes:
At least you should change the backend provider in /usr/share/z-push/config.php:
If you use SSL with your IMAP change the configuration in /usr/share/z-push/backend/imap/config.php:
Last but not least you have to point https://server.tld/Microsoft-Server-ActiveSync to your Z-Push installation. If you already configured NGINX with SSL you can add a new location to your config:
You can test your configuration by opening https://server.tld/Microsoft-Server-ActiveSync in your browser. If you are prompted to authenticate with your username and password, everything works fine.
Now you have configured the server side of your push mail configuration. To gain the full functionality on your mobile device, you need to reconfigure you mail client. Choose Exchange as your mailprovider. Fill your username, password and server. Choose accept all certifcates and use your new push mail account.