You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Connections to host p38-imap.mail.me.com on the default ports failed.

I keep getting this warning in Apple Mail for my iCloud mailbox on my Mac Mini.

The account works perfectly on my MacBook Pro and iPhone and all other mail accounts (Gmail, Exchange, Imap) work normally on the Mac Mini, it is just the iCloud account that fails.

Strangely, I have found that I can send mail from the account, but not receive it (i.e. it seems to be connecting to the smtp server, but not the imap one).

So far, I have tried:

  1. Deleting then re-adding the account using Mail preferences.
  2. Changing the user name to .mac, .me, .icloud. Also tried it without any suffix (i.e. user name before @)
  3. Adding the iCloud account as a new imap account—manually adding the server and port settings.
  4. Deleting the entire iCloud package from the Mac Mini, rebooting the machine, then added it again.
  5. Deleting the caches within: /library/caches/com.apple.mail/ then rebooting.

I can't think of any more I can do other than reinstalling the operating system (or waiting for a major update to it). I have read every thread I can find on this topic (not a rare problem it seems) and tried every suggested solution I can find.

I can't afford to waste any more time on it, so I keep my iPhone handy to check incoming messages on my iCloud account. Thanks to anyone who can help me fix the problem!

Mac mini, macOS 10.15

Posted on Jun 1, 2020 7:43 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 1, 2020 5:23 PM

The primary admin account might be corrupted create a new test user account https://support.apple.com/en-in/HT204443

And configure mail accounts https://support.apple.com/en-in/guide/mail/mail35803/mac


Similar questions

7 replies

Jun 2, 2020 6:25 AM in response to Luke Christian

Which mail services do you use , in gmail accounts in the latest versions of Mac the settings are by default even you try to manually enter port settings and other settings it will not accept , so leave the settings as empty .

Right now I opened my connection doctor for IMAP account , one of SMTP mails settings is vanished for iCloud account , it seems its due to my internet service provider problem or might be from iCloud server , the circle is continuously rotating .



What my observation for your mail issues is from your internet service provider ( sometimes their servers are down ) as you had created a new test user account / configured mail account , also I don't think it is nescessary to reinstall Mac OS .

Jun 2, 2020 6:04 AM in response to tygb

Thanks for you help tygb.

I have checked and can confirm that setting-up the iCloud mail account for a new user DOES resolve the problem. However, I cannot work out what to do about it in my own profile. Are there any settings I could copy and paste from the new account to overwrite the corrupted ones in my own—or even copy settings across from the Library on my MacBook Pro? Just to reiterate: the iCloud mail account is fully able to connect to SMTP, but unable to connect to IMAP (which uses the same username, password and security settings). I have deleted, rebooted and reinstated the account repeatedly, I have even installed the latest major update to the OS (10.15.5), but still I get the same old warning the second I add the iCloud account to Mail!!!


on a new account

Jun 5, 2020 2:26 AM in response to beej6

Thank you BJ, I have rebooted so many times I feel like booting by Mac Mini out of the window!

I continue to be plagued by this seemingly intractable problem. My latest attempt to solve it was to totally reinstall the OS (Catalina) from the recovery partition. Imagine my horror after an hour's optimistic expectation to find that, even now, 'Connections to host p38-imap.mail.me.com on the default ports failed'.

Despicably inexplicable!

Connections to host p38-imap.mail.me.com on the default ports failed.

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