Re: Cyrus 3.0.3 XAPPEPUSH

2017-08-23 Thread Arnaldo Viegas de Lima
The easy part is a merit of the Cyrus architecture (mostly the notification support) and the way Apple Push was added (thanks to whoever did it - my guess the folks at FastMail). It’s really ingenious: just added the response to the XAPPLEPUSH extension command and pass all of it’s processing (r

Re: Cyrus 3.0.3 XAPPEPUSH

2017-08-23 Thread David Lang
on the contrary, thanks for sending it to the list, besides others who may want to do the exact same thing, it also helps others who may not have realized that such things could be done easily. at 28k, it's not like it was a massive e-mail David Lang Cyrus Home Page: http://www.cyrusimap

Re: Cyrus 3.0.3 XAPPEPUSH

2017-08-23 Thread Arnaldo Viegas de Lima
Forgot to remove the list from the email, so it was also sent to the list. My sincere apologies. > On Aug 23, 2017, at 8:28 AM, Arnaldo Viegas de Lima > wrote: > > I’ve sent Sebastian the script with some comments (I don’t think a list is > the proper way to share code). If anyone else wants

Re: Cyrus 3.0.3 XAPPEPUSH

2017-08-23 Thread Arnaldo Viegas de Lima
I’ve sent Sebastian the script with some comments (I don’t think a list is the proper way to share code). If anyone else wants a peek, let me know. > On Aug 23, 2017, at 7:15 AM, Sebastian Hagedorn wrote: > > Hi, > > I doubt that we could actually use such a solution, but I'm definitely > cu

Re: Cyrus 3.0.3 XAPPEPUSH

2017-08-23 Thread Sebastian Hagedorn
Hi, I doubt that we could actually use such a solution, but I'm definitely curious about it! Please share the script :-) --On 22. August 2017 um 18:21:44 -0300 Arnaldo Viegas de Lima wrote: If anyone is interested (and have a proper push certificate) I have written a small external script

Cyrus 3.0.3 XAPPEPUSH

2017-08-22 Thread Arnaldo Viegas de Lima
If anyone is interested (and have a proper push certificate) I have written a small external script to be called from notifyd to handle all aspects of Apple push notification, with device registration being handle by a MySQL database (with cleanup). I think I’ve covered most of the cenários: reg