Mail not working on iPhone after iOS 18 Update

Hi guys,


After updating my iPhone from iOS 17.7 to 18, I encountered an error with my work email. It's showing "IMAP server is not responding."Our mail server uses TLS version 1.1. Does iOS 18 support this version? Can you confirm?




[Re-Titled by Moderator]

iPhone 12, iOS 18

Posted on Sep 16, 2024 10:04 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 17, 2024 8:49 PM

I’d get the server to TLSv1.2 and with forward security configured minimally, and test again.


IMAP (read, receive) and ESMTP (send) are separate network services, so check both.


There are various ways to check the TLS and cipher offers by a server, and curl and testssl among those,:


https://stackoverflow.com/questions/40557031/command-prompt-to-check-tls-version-required-by-a-host


Also check the IMAP and ESMTP server logs for any failure-relevant details that might be included there.

532 replies

Jan 28, 2025 2:48 PM in response to manojWijesinghe

It looks like the OP is using Zimbra (which uses the Postfix as its MTA). For those who use Postfix, but especially for those using Zimbra, you may want to have your admin look at ZBUG-4531 and this post https://forums.zimbra.org/viewtopic.php?t=72998. Basically, whatever Apple changed in Mail from iOS 17 to iOS 18, it's causing Zimbra/Postfix to generate egregiously long list of conditions for IMAP queries on the back-end, causing accounts to lockup for minutes if not hours while the query is running. While Zimbra/Postfix should definitely be limiting max conditions, Apple absolutely needs to do a better job of debugging and testing. Really unacceptable for a trillion dollar company with the kind of resources they have to failed like this and then proceed to not fix it.

Jan 28, 2025 4:37 PM in response to seaninja


“Basically, whatever Apple changed in Mail from iOS 17 to iOS 18, it's causing Zimbra/Postfix to generate egregiously long list of conditions for IMAP queries on the back-end, causing accounts to lockup for minutes if not hours while the query is running”


Postfix is an SMTP server and has nothing to do with IMAP

Jan 28, 2025 4:53 PM in response to manojWijesinghe

In my case it is definitely a certificate issue. The IMAP (Dovecot) cert is a public trusted cert and is installed as a profile in the device, along with the intermediate and CA certs (CA is trusted).

Calling the IMAP connection from an external (WAN) connection using the domain (as in the cert) works fine.

Calling the IMAP connection from within the LAN (using an IP address on the LAN) results in a certificate error.

This happens on iOS 18. It works fine on iOS 17.

I cannot seem to find a way to explicitly allow trust of the IMAP certificate when used with an IP address rather than the cert domain.


Jan 28, 2025 5:51 PM in response to manojWijesinghe

For me, so far the 18.3 update appears to have fixed my IMAP problem with Apple Mail. All mail folder contents and attachments are now fetched right away instead of locking up for some considerable time, as was the case previously. I did the update to 18.3 but did not open Mail for several hours, to find it working fine. So far.


I use a Dovecot IMAP server on my NAS, Mail accesses it via LAN IP address via a non-secure connection, if that makes any difference.

Feb 10, 2025 5:37 AM in response to manojWijesinghe

Knowing what I was likely to be letting myself in for, I decided not to update my phone but update ipad for a test.


I run my own mail server with a self signed SSL certificate.


Updated to iPadOS18.3

Deleted Mail account.

Set up Mail account with working settings from iPhone on iOS 17.7.2

I was asked to review details and trust for my certificates which I did.

Opened Mail app, all emails visible and readable.

Replied successfully.

As soon as Mail app checked for new mail I got:


The mail server X is not responding. Verify that you have entered the correct account info in Mail settings


Unable to create a secure connection to the server (“bad certificate format@ -9,808)


Set up outlook connection to

my account without issue!

Feb 10, 2025 8:07 AM in response to manojWijesinghe

For those who manage their own mail server using self signed certificates there are a number of options to move to LetsEncrypt certificates which fixes the problem. This is a high level recipe for Amazon Linux 2.


Follow this :

https://gist.github.com/mrothNET/cb6f313e9cbe896f3e0fdec80ad2f3fa

Points to note - I also run https on this server to I had to stop the service, get the certificate and then restart the service.


I didn’t do the bit for cli.ini for auto-renewal, but read this article instead:

https://stackoverflow.com/questions/42300579/letsencrypt-certbot-multiple-renew-hooks


I followed the answer for Centos/Amazon Linux.

I had to enable the certbot-renew.timer service

I then edited /etc/sysconfig/certbot and added a PRE_HOOK to stop httpd, POST_HOOK to start httpd and a DEPLOY_HOOK to restart postfix and dovecote (similar to what was posted in the first article for cli.ini) Don’t forget to keep or add the command line switches (eg. —pre-hook) that are in the examples shown in the file


Obviously I don’t know if the renew will work as it takes a bit of time, but after the restarting of dovecot and postfix in the first article, mail started working again.

Feb 10, 2025 2:24 PM in response to SteveMilner

Not particularly useful if you already have a valid certificate for the mail server.

I already have a Digicert valid mail server cert, for access from external networks. However on the LAN, the mail server is accessed using its IP address. So the cert checking fails in the iDevice, however if explicit trust of the mail server cert was allowed when using the IP address then it would pass.

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.

Mail not working on iPhone after iOS 18 Update

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