iOS 18 Mail Sync Issue with IMAP and Dovecot Server
Why did Apple discussion moderators suddenly lock the thread "Error in downloading mail on IMAP after ios 18 upgrade" when it was actively being posted and with thousands of users upvoting it?
I was just about to reply with this:
dovecot imap server is also having a sync problem. They are also seeing a problem with iOS 18. I'm honestly not convinced this PR is the best solution...
IETF IDLE RTC 2177 says:
The IDLE command is terminated by the receipt of a "DONE"
continuation from the client; such response satisfies the server's
continuation request. At that point, the server MAY send any
remaining queued untagged responses and then MUST immediately send
the tagged response to the IDLE command and prepare to process other
commands. As in the base specification, the processing of any new
command may cause the sending of unsolicited untagged responses,
subject to the ambiguity limitations. The client MUST NOT send a
command while the server is waiting for the DONE, since the server
will not be able to distinguish a command from a continuation.
IETF IMAP4 rev1 RFC 3501 says:
...
68) Clarify that commands which break command pipelining must wait
for a completion result response.
...
I searched IETF IMAP docs for more information about "command pipelining" but turned up empty. The way I'm interpreting the specs for IDLE, the client MUST not send another command while server is waiting for "DONE" ...AND "commands which break command pipelining" must wait for the (server) to send the completion result response (before sending new commands)....
Although Stalwart Dev mdecimus believes his PR is the way to fix iOS 18, I dare say I think this is premature...
IMO this is Apple's bug to own and fix! 3 months in...come on.
[Re-Titled by Moderator]