Is it possible to enable push notifications for iOS/macOS mail clients on a stock dovecot?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to enable push notifications for iOS/macOS mail clients on a stock dovecot?

Gerben Wierda
Now that Apple has abandoned mail server capabilities in macOS Server.app we have to move to an open source solution. I have done this using Macports and it works well (no thanks to Apple as it never published the in 2018 promised migration info for mail services).

The MacPorts Apple Push Notification variant based on a patch written a few years ago for dovecot supports APNS but it requires you to export a certificate form your old High Sierra Server.app. With the patch and that certificate, dovecot tells an email client it supports XAPPLEPUSHSERVICE and that makes Apple mail clients think they are talking to macOS Server and they switch to push notifications for updates. Now, that certificate needs to be renewed yearly by Server.app and imported by hand etc. At some point this will stop working (apart from that you need to keep an old macOS Server around to renew)

Is there another way to get this working with an open source dovecot, outside of using Apple’s push notification service? Some other standard? Some other service? Probably not, right?

G
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to enable push notifications for iOS/macOS mail clients on a stock dovecot?

Infoo Matic
I have no idea about that Mac proprietary stuff ... however,
https://doc.dovecot.org/configuration_manual/push_notification/ might be
a solution/workaround for you.

regards,

infoomatic


Am 08.01.20 um 22:33 schrieb Gerben Wierda:
> Now that Apple has abandoned mail server capabilities in macOS Server.app we have to move to an open source solution. I have done this using Macports and it works well (no thanks to Apple as it never published the in 2018 promised migration info for mail services).
>
> The MacPorts Apple Push Notification variant based on a patch written a few years ago for dovecot supports APNS but it requires you to export a certificate form your old High Sierra Server.app. With the patch and that certificate, dovecot tells an email client it supports XAPPLEPUSHSERVICE and that makes Apple mail clients think they are talking to macOS Server and they switch to push notifications for updates. Now, that certificate needs to be renewed yearly by Server.app and imported by hand etc. At some point this will stop working (apart from that you need to keep an old macOS Server around to renew)
>
> Is there another way to get this working with an open source dovecot, outside of using Apple’s push notification service? Some other standard? Some other service? Probably not, right?
>
> G
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to enable push notifications for iOS/macOS mail clients on a stock dovecot?

Steffan Cline
https://github.com/st3fan/dovecot-xaps-daemon

Works PERFECTLY. I use it on CentOS 6 and 7. 


Thanks,
Steffan Cline
602-793-0014

On Jan 8, 2020, at 2:39 PM, infoomatic <[hidden email]> wrote:

I have no idea about that Mac proprietary stuff ... however,
https://doc.dovecot.org/configuration_manual/push_notification/ might be
a solution/workaround for you.

regards,

infoomatic


Am 08.01.20 um 22:33 schrieb Gerben Wierda:
Now that Apple has abandoned mail server capabilities in macOS Server.app we have to move to an open source solution. I have done this using Macports and it works well (no thanks to Apple as it never published the in 2018 promised migration info for mail services).

The MacPorts Apple Push Notification variant based on a patch written a few years ago for dovecot supports APNS but it requires you to export a certificate form your old High Sierra Server.app. With the patch and that certificate, dovecot tells an email client it supports XAPPLEPUSHSERVICE and that makes Apple mail clients think they are talking to macOS Server and they switch to push notifications for updates. Now, that certificate needs to be renewed yearly by Server.app and imported by hand etc. At some point this will stop working (apart from that you need to keep an old macOS Server around to renew)

Is there another way to get this working with an open source dovecot, outside of using Apple’s push notification service? Some other standard? Some other service? Probably not, right?

G

Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to enable push notifications for iOS/macOS mail clients on a stock dovecot?

Gerben Wierda
This requires the ongoing use of macOS Server (as does the patch that is part of the MacPorts port of dovecot2). The issue then is: how do you keep getting certificates for push mail if mail services have been removed from macOS Server? I can configure this today but on Oct 20, my apns certificate expires. Then what?


On 9 Jan 2020, at 00:19, Steffan Cline <[hidden email]> wrote:

https://github.com/st3fan/dovecot-xaps-daemon

Works PERFECTLY. I use it on CentOS 6 and 7. 


Thanks,
Steffan Cline
602-793-0014

On Jan 8, 2020, at 2:39 PM, infoomatic <[hidden email]> wrote:

I have no idea about that Mac proprietary stuff ... however,
https://doc.dovecot.org/configuration_manual/push_notification/ might be
a solution/workaround for you.

regards,

infoomatic


Am 08.01.20 um 22:33 schrieb Gerben Wierda:
Now that Apple has abandoned mail server capabilities in macOS Server.app we have to move to an open source solution. I have done this using Macports and it works well (no thanks to Apple as it never published the in 2018 promised migration info for mail services).

The MacPorts Apple Push Notification variant based on a patch written a few years ago for dovecot supports APNS but it requires you to export a certificate form your old High Sierra Server.app. With the patch and that certificate, dovecot tells an email client it supports XAPPLEPUSHSERVICE and that makes Apple mail clients think they are talking to macOS Server and they switch to push notifications for updates. Now, that certificate needs to be renewed yearly by Server.app and imported by hand etc. At some point this will stop working (apart from that you need to keep an old macOS Server around to renew)

Is there another way to get this working with an open source dovecot, outside of using Apple’s push notification service? Some other standard? Some other service? Probably not, right?

G