Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 Sep 27, 2024 1:02 AM

Hi All,


I'm experiencing the same problem. No personal IMAP or POP3 accounts work, even though the SSL and TLS certificates are fine.


This is a very big problem. If Apple doesn't fix it quickly, I might go back to iOS 17 or switch to another brand.

I believe that for Apple and its development team, it should be quite simple to fix an issue like this, and I find it very concerning that a solution hasn't been provided yet. After all, what complex code could be behind a function you've been implementing for over 10 years? I strongly urge you to resolve this quickly, or many of us will be forced to leave a platform that has so far been both reliable and secure.


Thank you.

287 replies
Question marked as Top-ranking reply

Sep 27, 2024 1:02 AM in response to Hari1975

Hi All,


I'm experiencing the same problem. No personal IMAP or POP3 accounts work, even though the SSL and TLS certificates are fine.


This is a very big problem. If Apple doesn't fix it quickly, I might go back to iOS 17 or switch to another brand.

I believe that for Apple and its development team, it should be quite simple to fix an issue like this, and I find it very concerning that a solution hasn't been provided yet. After all, what complex code could be behind a function you've been implementing for over 10 years? I strongly urge you to resolve this quickly, or many of us will be forced to leave a platform that has so far been both reliable and secure.


Thank you.

Dec 5, 2024 9:57 AM in response to Hari1975

I called Apple Support today (December 5th) and after about 10 minutes doing a screen share and discussing which devices Mail works correctly and which do not, the Apple Support Senior Advisor confirmed that this is a known issue that Apple Engineers are working on. I asked if my support call would add another affected user vote to the existing case number and he confirmed, yes!


My strong advice is, if you are experiencing a Mail fetch and/or sync issue after updating to iOS 18 or 18.1.1, that you should call and report this...patiently waiting until they add you to the 'yes, this affects me too' case number.


This will help put more pressure on Apple to get this FIXED and stop trying to wait for some other feature release 18.2...

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.

Oct 13, 2024 10:14 PM in response to plinss

I did some more testing and I isolated the problem. On my Dovecot servers that iOS devices cannot connect to, the folder hierarchy separator is set to "\\" (an escaped backslash). On the one that I could still connect to the separator is set to ".". I created a test server (v2.3.17) and confirmed that iOS will not connect with a backslash, changing this to pretty much anything else (".", "/", "|") allows iOS to connect again, set it back to a backslash and it fails.


Unfortunately it's not trivial to change the separator for existing Dovecot installations, but that's apparently what's causing the Mail app to choke.


Using a backslash is not uncommon and is what Outlook servers generally do, so this is not an unusual situation (I use it because it allows "." and "/" in folder names).


Hopefully Apple will fix this regression soon.

Sep 28, 2024 9:17 AM in response to Hari1975

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.

Sep 28, 2024 6:06 PM in response to Alfatier

My understanding is IMAP server (dovcot) returning some kind of message which Mail app returning as POSIX 96. in my case i have iRedMail setup which uses dovecot to provide IMAP and that dovecot having the facility to record the each login time to mysql database. In that i had issue in that table mysql not able to update lastlogin details. the error is return to IMAP client (Mail app) and Mail app showing that as error. usually all other IMAP client apps will ignore this type of IMAP protocol replies and continue to do service. But iOS18 Mail app stopping at these type of un-handled error messages in IMAP communication.

So my guess is, 1) Your dovecot server also having such issue and returning un-supported/un-handled error reply to IMAP client. if you are running your dovecot in debug mode, you can find the issue and fix it. Then your iOS18 Mail app will work.

2) Apple also can improve the IMAP protocol handling in their upcoming Mail app releases like if such type of ignorable error coming from IMAP server, simply ignore it by showing warning or do no action and do the mail fetch and do the essential operation.


I have plan to reproduce this error in my server maintenance time. if i am able to reproduce it, i will update about the specific protocol error that may help apple/others to fix the issue.


Nov 22, 2024 6:37 PM in response to Taco Bob

Looking at this thread it's fairly obvious that there are several different issues going on here. If deleting and recreating your mail account settings are fixing this, you had a configuration error. If using or not using a VPN is fixing this, you have a networking issue. If you're having a problem with a POP account, that's something else entirely. If the problem is intermittent, it's something else again.


In my case, and I believe many others here, the issue is a bug in Mail that was introduced in iOS 18 dealing with the IMAP folder separator character.


During the initial IMAP handshake, the server tells the client which character is used to separate paths for nested mailbox folders. e.g. If you have a mailbox 'Bills' with a mailbox 'Electric' in it, the path to that folder may be '/Bills/Electric', or '\Bills\Electric', or '.Bills.Electric', using whatever separator character the server prefers. There is no standard character used, but those three are the most common.


The caveat is that whatever character is used as a folder separator, can't exist in a mailbox name, so using '\' is fairly common as it frees '/' and '.' for use in mailbox names. Unfortunately, backslashes are also commonly used as escapes, and I suspect the IMAP code in Mail had a regression where a '\' character is getting misinterpreted as an escape during the IMAP handshake, causing an error and the client to drop the connection.


I'm running several Dovecot servers, some using '\' and some using '/'. iOS Mail fails on all the ones using '\', the ones using '/' work fine. Same version of Dovecot on the same server OS, all other Dovecot configuration is identical. When the client drops the connection, it's always immediately after the initial handshake, and there are no errors in the server logs. Even with debugging turned all the way up.


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.


Note that changing the folder separator has its own risks, Dovecot recommends you never change it. If any user has a mailbox name containing the new separator, their client (and possibly your server, depending on how the mail is stored on disk) will get confused (you'll see a single mailbox turn into one nested inside another). You also may break mail filters among other things. Make this change at your own risk. If you have the means, it's safer to stand up a new server with a different separator character, and then migrate the mail to it using an IMAP client.


Ideally, of course, Apple acknowledges and fixes the bug.

Nov 26, 2024 3:34 PM in response to Hari1975

I believe the information shared to date can be concisely summarized as follows:

  • iOS 18 has a serious bug in the mail app, that renders IMAP unusable for many users;
  • the bug has not yet been fixed in 18.1.1;
  • Apple may or may not have acknowledged the bug. One user reported he was told Apple has identified a possible fix. I hope.
  • There are a number of workarounds that some people have had some success with. These are not fixes, however, but bandaids. I believe that some people who have reported that one thing or another solved the problem under discussion may have simply eliminated or limited a normally innocuous condition that should not choke a mail client, but which iOS 18 can't handle;
  • It is not helpful to complain to the readers of this thread. Here's where you can complain to Apple and report bugs: Feedback - iPhone - Apple


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.