Push Notifications With Alternatives to Deprecated Server Services

Apple has suggested several alternatives to deprecated service in MacOS Server version 5.7: Prepare for changes to macOS Server 5.7.1 - Apple Support.


But I have not seen any guidance on how to configure these Apple-suggested services with APNS to use with iOS devices.


Does the end of Server.app mean the end of Mail, Calendar, and Contact push notifications on iOS devices?


Has Apple explained how to configure push notifications for iPhones and iPads? Is there a link somewhere?


Also, it is an unpleasant surprise that Apple made Mojave 10.14 incompatible with Calendar, Contacts, Mail, DNS, Web, VPN, and other services. I was expecting to be able to upgrade to Mojave while running Server.app version 5.6 with all its services. This is not possible:

User uploaded file

Mac mini, macOS High Sierra (10.13.3)

Posted on Oct 8, 2018 7:09 AM

Reply

Similar questions

5 replies

Oct 10, 2018 2:29 AM in response to essandess

Many organisations use Microsoft Exchange as their mail server, Exchange has its own push notification mechanism for ActiveSync which is what iOS devices use to connect to an Exchange server.


Similarly many alternative mail servers also support ActiveSync this includes Kerio Connect which has long been used by Apple admins as an alternative to Apple's own Mail server.


For Macs, there would be Exchange Web Services for use with a 'real' Exchange server which includes Office365 and even the free Outlook.com. However in most cases normal IMAP, CalDAV and CardDAV works well enough with either the IMAP Idle feature which is supported by Apple Mail or simple regular polling.

Oct 9, 2018 6:55 AM in response to essandess

I just spoke with Enterprise support, who told me that it will still be possible to create push notification certificates at https://identity.apple.com/pushcert/.


However, there is no Apple documentation on how to create APNS certificates for the open source Mail/Contacts/Calendar alternatives.


It appears that going forward it may be possible to replicate APNS certificate creation by hand (once per year) using Keychain Access to generate the correctly configured certificates and a CSR that can be uploaded to https://identity.apple.com/pushcert/ for signing.


These certificates could then be used in the configuration of a self-hosted mail and calendar server that is patched to support APNS.


Does anyone know how to create a correctly formatted APNS certificate from Keychain Access that can be signed by Apple? My own certificates at https://identity.apple.com/pushcert/ look like this. If this approach works, I expect that one would need to generate APNS certificates for apns:com.apple.calendar, apns:com.apple.contact, and apns:com.apple.mail. This would be easy to script once the details are determined.

server.domain.tld - apns:com.apple.calendar

server.domain.tld - apns:com.apple.contact

server.domain.tld - apns:com.apple.mail

server.domain.tld - apns:com.apple.mgmt

server.domain.tld - apns:com.apple.alerts


Also, here’s a blog post on configuring Cyrus to use APNS: https://www.tzeejay.com/blog/2018/03/project-xapplepushservice/.


In the meantime and without documentation or a working example, it is necessary to remain on High Sierra and Server version 5.6 to preserve iOS push notifications.

Oct 8, 2018 6:31 PM in response to essandess

It appears that APNS is lying dead along with Server in Mojave. See this dovecot repo, https://github.com/matthewpowell/pushnotify#a-note-about-mojave-and-ios-12:


macOS 10.14 no longer includes the Mail server component and cannot be used to generate a suitable push certificate. Although 10.14 uses push notifications for device management, it appears that iOS mail will not accept notifications that do not use the com.apple.mail topic.

Push notifications continue to work on iOS 12 using a certificate generated on 10.13 or earlier.

Oct 10, 2018 3:34 PM in response to essandess

It does appear that APNS is dead along with Server.app for open source mail servers. See this thread for details: https://github.com/st3fan/dovecot-xaps-daemon/issues/46


The only approach left is to file a report at https://bugreport.apple.com/ and request that Server.app version 5.7 and beyond provide support to generate bundled Mail/Calander/Contacts APNS certificates that can be exported and used to configure open source servers.

Oct 10, 2018 6:05 AM in response to John Lockwood

I’m specifically looking for open source server options with push notifications to iOS devices to replace the macOS Server stack. For example, dovecot+postfix+spamassassin+… on OpenBSD.


Before migrating away from Server version 5.6, I’m weighing the decision to use a self-hosted server or VPS, or a cloud service like Fastmail (which comes with APNS in its Cyrus stack). MS Exchange and Kerio look like rock solid enterprise options, but these solutions and cost basis exceed my requirements by an order of magnitude.


If APNS can be preserved with open source MTAs, there are excellent OpenBSD-based server options out there. I had my eye on a few Supermicro ITX mini server board solutions that are competitively priced and run at Gbps and 10 Watts, but now it would be wise to wait to see whether Bloomberg’s supply chain reporting or Apple’s and other’s strong repudiations hold up. Supermicro has this fanless atom system (unknown whether it’s tainted by the reported supply chain hack):


In the meantime, any pointers to running an open source mail/calendar/contact server that supports push notifications to iOS would be much appreciated.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Push Notifications With Alternatives to Deprecated Server Services

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.