Error in downloading mail on IMAP after ios 18 upgrade

I am unable to download my mail using the native mail app after upgrading to IOS 18. I am getting the following error; “Network Error (POSIX 96)”

The mail configuration is on imap with SSL.

iPad Pro, iPadOS 18

Posted on Sep 16, 2024 10:24 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 30, 2024 10:21 AM

@ferrerod:

Here's the main part of the response I got from Fastmail who diagnosed and solved the problem on my account. It seems there was a bug in their mail engine that was benign until the iOS18 update, then no more. I hope this helps.


We had a bug which put random data into the HIGHESTMODSEQ value for some users. Their account was affected by this. We didn't think it was an issue because there was still heaps of number-space left, but the HIGHESTMODSEQ values were higher than a signed int64 can hold. This was fine because we use an unsigned int64_t internally, but the spec was updated a few years ago to make it a signed value, so we were strictly wrong.
 
Apple's parser couldn't handle these oversize numbers, and failed.
--
 
This has now been fixed by resetting the HIGHESTMODSEQ value for these users which also means this will never happen for them again.



ferrerod wrote:

Did fastmail tell you what technically they did? No one else has a workable solution. Some of us support our own mail serves - though perhaps rare.... would be great if you could get them to tell you exactly what they did for IMAP solution.


287 replies

Oct 7, 2024 12:19 AM in response to Hari1975

Same issue, on iPhone and iPad, started with upgrade to iOS 18, not fixed with 18.0.1.


I can access the same accounts fine from a desktop MacOS Mail app.


Dovecot (v2.3.20) debug logs show a successful TLS connection and authentication, opening the INBOX, executing LIST, then immediately disconnecting. No errors reported on the server side.


I also run a slightly older version of Dovecot (v2.3.17) on another server and my iOS devices can get mail just fine. I'm wondering if the iOS 18 clients are doing something slightly non-standard causing newer Dovecot versions to close the connection.

Oct 9, 2024 3:37 PM in response to mangalapandi

mangalapandi wrote:

This may not be the Mail App issue, When i got new iPhone with iOS18, i got the same issue after the migration and even i deleted the account and recreated in Mail app, it did not worked. Then i have checked my server about the dovecot error log and i noticed that its had issue in keeping the authentication session and i fixed it, then Mail app started getting message and its not showed any error related to POSIX 96 till now.

This is very significant, and probably the most useful post I have seen respecting this problem! But, how did you fix it?!?


This means, ironically, apples own (discontinued) server software also won't work with iOS 18 because it runs dovecot.

Nov 23, 2024 10:57 AM in response to plinss

plinss wrote:
Those here running their own server, I'd like to hear what your folder separator is set to. If you change it to anything else, I expect your connection problems will go away.
# shared namespace configuration
namespace acl-mailboxes {
  type = shared
  separator = .
  prefix = shared.%%u.
  #location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  #location = maildir:/Library/Server/Mail/Data/mail/%%u:INDEX=/Library/Server/Mail/Data/mail/%%u/shared
  location = maildir:/Library/Server/Mail/Data/mail/users/%%u:INDEX=/Library/Server/Mail/Data/mail/shared/%%u
  subscriptions = no
  list = children
}

Sep 20, 2024 5:29 PM in response to AlWeir

Already tried the following;


  1. Deleting the account and recreating it. All that happened is that I am no longer even able to see the folder structure. No error message any more though.
  2. Deleted the mail app and reinstalled. No luck.


I finally just moved to the outlook app. Everything is working fine with that. Seems like the issue is with the mail app itself and not IOS 18.

Nov 23, 2024 7:51 AM in response to plinss

“Those here running their own server, I'd like to hear what your folder separator is set to. If you change it to anything else, I expect your connection problems will go away.”


I am running a dovecot server, and I will have to figure out how to check the configuration for this information. However, I believe the separator is a dot, because I can’t create an imap folder name with a dot in it (I.e. purchases.home becomes purchases with a sub folder named home)

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.

Error in downloading mail on IMAP after ios 18 upgrade

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