Re:FastMail gains push notifications in iOS Mail.app, joinin...
by gioele on Friday July 17, 2015 @05:27AM
(#9901880)
> IMAP "push" usually means the IDLE extension [...]
> iOS Mail doesn't implement it, instead doing a poll every 15 minutes. However it also implements a separate push system which allows true push if the server supports it. The details on how to support this aren't public information.
"The details on how to support this aren't public information." My biggest computer-related fears summarized in a single sentence.
Re:FastMail gains push notifications in iOS Mail.app, joinin...
by vbezhenar on Friday July 17, 2015 @04:25AM
(#9901747)
So there's absolutely no way to enable that on custom little VPS? You have to make an agreement with Apple for that?
Re:FastMail gains push notifications in iOS Mail.app, joinin...
by hedgehog on Friday July 17, 2015 @05:35AM
(#9901908)
It looks like the interface is called XAPS and someone was able to build a working implementation last year: http://www.dovecot.org/list/dovecot/2014-September/097721.ht...
From skimming the notes it looks like it's essentially a way to send APNS notifications to Mail.app and requires a cert from Apple. You could run it from your VPS once you get the cert.
Re:FastMail gains push notifications in iOS Mail.app, joinin...
by bboreham on Friday July 17, 2015 @06:00AM
(#9901964)
NuevaSync has supported this for years, via ActiveSync.
https://www.nuevasync.com/nuevasync-pemail.html
Disclosure: have family connection to owners.
Re:FastMail gains push notifications in iOS Mail.app, joinin...
by kuschku on Friday July 17, 2015 @05:22AM
(#9901865)
Well, wireshark + decompilation of existing software.
What I imagine, though, is a system similar to GCM, which would be not very helpful.
Re:FastMail gains push notifications in iOS Mail.app, joinin...
by vbezhenar on Friday July 17, 2015 @05:31AM
(#9901891)
I guess that this is achieved using a server-side communication: the Fastmail server send the notification to the Apple servers and the Apple server sends the notification to the user's device. So wireshark probably won't help.
iOS Mail doesn't implement it, instead doing a poll every 15 minutes. However it also implements a separate push system which allows true push if the server supports it. The details on how to support this aren't public information.
We talked to Apple, and they were kind enough to give us access to this system. We implemented it on our side, and now when an email arrives at FastMail we can immediately signal to Mail.app that there's new mail available.