For some people, getting their email pushed to their mobile is important. Although the emails from my home email server is not really as important as my work emails, it still is a good learning experience and its fun. 😀
First, one must already have a working email server. IÂ am not going to discuss that here. My personal setup is a Debian unstable box with Postfix and Dovecot. I set up my imap server with Maildir and virtual users.
Next, if you use a Debian based distro, do not use “d-push” ,the Debian packaged version of Z-Push, because it is old and I ran into a lot of problems getting it to work. Just download the upstream version and you should be fine.
Unpack the downloaded file and follow the “INSTALL” file instructions.
There are 2 config.php file that we have to edit. The main one on the root of the install, we need to add the “BACKEND_PROVIDER”. Since I am using imap, I added “BackendIMAP”.
The second config.php file is under the backend/imap folder. I change the port because I am using SSL. The options part I had to do a lot of trial and error, and some research.(5)
Save both of this files and reload your Apache. Before setting up your device try to login through the browser. One should get something similar to this screenshot. If not, you need to do more troubleshooting.
References
- http://php.net/manual/en/function.imap-open.php
- http://z-push.org/
- http://z-push.sourceforge.net/phpbb/viewtopic.php?f=2&t=2408&p=8788&hilit=dovecot#p8788
- http://doc.zarafa.com/7.0/Administrator_Manual/en-US/html/_zpush.html
- https://nickebo.net/setting-up-push-mail-with-dovecot/