Hello everyone,

I am currently running dovecot 2.3.21 on two servers (running behind a haproxy 
in active/backup) that use replicator syncing between both. One of these is a 
macOS MacPorts version that has APNS and is my active server. The other one is 
a backup server, which is a docker image on Ubuntu.

I ran into not being able to update my APNS certificate using an old Mac OS X 
High Sierra Server, which I have been doing once  year or so and then adding it 
to my dovecot instance (MacPorts on macOS)

After investigating this over the last month, these are my conclusions:
Using XAPPLEPUSHSERVICE from dovecot is dead. It might still have worked last 
August (I saw on a github repo in an issue thread), but Apple closed the 
services that was using this, so even if I would be able to renew my 
certificate, I still would not be able to send the push notifications 
IDLE is the way to go, but iOS 18 has versions where this doesn't work and no 
mail is delivered at all. 
dovecot 2.4 no longer supports syncing between two instances using replicator, 
going forward I need to set up a clustered NFS across my macOS and Ubuntu 
machines. Until then I need to stay on 2.3.x.

Is this a correct summary? If it is, I will have to remove APNS from my setup 
and ask my users to move from Push to Fetch.

Yours,

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon 
<https://newsie.social/@gctwnl>, Bluesky 
<https://bsky.app/profile/gerbenwierda.bsky.social>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/mastering-archimate-edition-3-2/>
YouTube Channel <http://www.youtube.com/@GerbenWierda>

> On 7 Jan 2025, at 17:40, David Ferrero via dovecot <dovecot@dovecot.org> 
> wrote:
> 
> I have both IDLE and the XAPPLEPUSHSERVICE but removed IDLE to get ios mail 
> to work at all. It is slower than with IDLE present but acceptable. I will 
> try adding IDLE back after 18.2.1
> 
> As I understand from Stalwart server patch, Apple starter command pipelining 
> and many imap servers were not expecting new commands immediately after CLOSE 
> was sent to end IDLE, in the same packet.  
> 
>> 
>> On Jan 7, 2025, at 07:42, Scott Q. via dovecot <dovecot@dovecot.org> wrote:
>> 
>> Have you guys tried using XAPPLEPUSHSERVICE ?
>> 
>> I have that enabled and it doesn't even use IDLE.
>> 
>> Scott​​
>> 
>> On Tuesday, 07/01/2025 at 08:52 dovecot--- via dovecot wrote:
>> 
>> 
>> 
>> I think there are/were multiple issues, which confuses diagnosis. As a
>> workaround I had disabled imap-IDLE on my (Dovecot) mail server and my
>> iOS 18.2 iPhone was able to get mail, but was still hanging at times.
>> 
>> After updating to iOS 18.2.1, I re-enabled imap-IDLE and mail seems to
>> be working normally. It uses imap-IDLE (near-realtime delivery) when
>> the mail app is open and fetches every 15 minutes otherwise. It gets
>> the mail messages and alerts correctly.
>> _______________________________________________
>> dovecot mailing list -- dovecot@dovecot.org
>> To unsubscribe send an email to dovecot-le...@dovecot.org
>> _______________________________________________
>> dovecot mailing list -- dovecot@dovecot.org
>> To unsubscribe send an email to dovecot-le...@dovecot.org
> 

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to