Email Access via Z-Push (aka ActiveSync) [BETA] ActiveSync is the Microsoft protocol for the groupware synchronisation of mobile devices. By installing the open source Z-Push php library as described below you can provide ActiveSync access to your surgemail email server. This notably provides: • More efficient mail synchronisation and sending mechanism than normal IMAP + SMTP (in terms of mobile device resources at the expense of server resources) • Instant ' push notification' of new mail - of particular note on iOS devices (which do not support the IMAP IDLE alternative) This guide provides a discussion on the comparitive technical merits. Also instructions are provided for installation if you choose to install this library. ActiveSync Quick Start for administrators • Install Z-Push and apply needed configuration tweaks • Setup • Install • Setup • environment is running • Test and Login with your client of choice: • iOS: Specify username (eg [email protected]), password. Z-Push when using Kopano/Zarafa How to build Z-Push 2.2 SPK for Sinology As you have been able to see on the Zarafa website, we want to shift the focus beyond email and ‘forked’ the Zarafa code: Kopano was born. Unsupported browser! Works best in modern browsers. ⚡ Name Last modified Size; Parent Directory: Z-Push_2.1.1-1.spk: 2014-04-23 16:19. No autoconfiguration, once connection fails enter servername. Technology Overview ActiveSync ActiveSync is the Microsoft protocol that allows mobile devices to efficiently synchronise with Microsoft Exchange. Some non exchange servers also implement some or all of the ActiveSync protocol. In the case of the use of Z-Push with surgemail only email can be synchronised at this stage. (On Exchange and some third party servers ActiveSync can also be used to synchronise contacts, calendar events, todo items and notes). The ActiveSync protocol is a binary XML protocol across http. Jay-z Push PartyThe protocol is specifically designed with efficient use from mobile devices in mind. As such the protocol is optimised for low bandwith, high latency connections. Also the protocol is designed for minimum number of whole request round trips. What Is Z-pushThis means that the protocol can use many of the same techniques used to speed up access to websites. This is as opposed to imap or smtp which is a two way handshaking tcp protocol which can be both quite slow and costly in terms of battery consumption across high latency connections. Push Implementation Getting ActiveSync instant push notification on mobile devices - particulary iOS devices - may well be the primary reason you are wanting ActiveSync. Z-push ZimbraHowever this will introduce significant additional server loading, so it should be carefully considered and monitored whether this is is actually a desirable feature on your server. The client (ie phone) uses long polling http with 30 minute timeouts on the http requests. This means if no mail arrives there is no traffic on the tcp channel and the phone radios remain in low power receive only mode - so long battery life for you! However, serverside these http requests are served as long polling web requests and processed in php. When the request comes in it consumes the resouces of a web request - see further discussion below - and keeps this open for up to 30 minutes, or until a new message arrives, or the client device is switched off. In addition to this an imap channel is opened to surgemail which is kept open but does not transition to imap idle. Instead every 5 seconds an IMAP status command is sent to surgemail for each monitored folder. Every 5 minutes a more comprehensive check is completed to make doubly sure that no new messages have been received. Z-Push can be served as part of the surgemail webserver, or as part of the apache webserver. I believe slightly less server resources will be used if you install z-push under apache than under surgemail. These are the 'continually in use' server resources per ActiveSync device that is configured to use push notification: • Surgemail: Surgemail web thread + php process + surgemail imap thread + repeated mail checks • Apache: Apache thread from thread pool + php thread from thread pool + surgemail imap thread + repeated mail checks The above is the 'standard' Z-Push configuration. We will continue to investigate the nicest ways to make this less resource intensive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |