How to resolve 'HELO/EHLO outbound.qs.icloud.com is not matching your DNS configuration' error in iCloud Mail?

HELO/EHLO DNS Configuration, Mail doesn't deliver email to specific address

Mac OS 15.4.1 / iPhone 18.4.1


I cannot send email via Mail iCloud to one distinctive email provider. The emails bounce back after hours with this msg: "refused to talk to me: 421 EHLO MXIN201 Your HELO/EHLO outbound.qs.icloud.com is not matching you DNS configuration"


This happens when I send email via iCloud with wifi on. If I send it thru my iPhone mobile service (wifi off) the email reaches its destination 100%. Also, I can reach it thru gmail or outlook accounts. Strangely enough I can reach my iCloud address from that other email address no problem. Even more strange: I can send email to that email address using iCloud webmail.

I have spent hours talking to Apple Support and the provider, to no avail. The provider says it's an issue with iCloud. Apple says it's a problem with the provider.

I have checked ALL settings (osx mail, system, router) and cannot find any problem. All settings are as expected. I have latest software on all devices. I have switched off all security software (Norton). This issue started after I installed OSX 15.4. but I doubt that this is the problem.


[Re-Titled by Moderator]

iMac (2017 – 2020)

Posted on Apr 17, 2025 8:44 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Apr 23, 2025 6:18 AM

Solution found!

Following a suggestion from a very savvy user in the German Apple Community , I changed my DNS settings on my iPhone to 8.8.8.8 (Google), deleted the DNS numbers from my provider. Sent a test email to the troublesome email Adress and - it was delivered!

Next I did the same on my iMac , then deleted the Google DNS and reinstalled the original DNS settings on my iMac , sent an email and it got delivered right away. Somehow the DNS and SMTP settings must have got corrupted after update to 15.4. / 18.4.

I'll keep my fingers crossed.


40 replies
Sort By: 

May 2, 2025 3:47 AM in response to Heinz Hegnauer

Heinz Hegnauer wrote:

Same here, after working 10 days any mentioned solution didn't work. It's time for Apple to investigate!

I hate this type of issue where no-one will acknowledge there's a problem. For now I've had to go to iCloud on the web, select mail, then pin that tab to Safari browser so that it's always available in a single click.

Reply

May 3, 2025 8:31 AM in response to PeterKurt

@peterkurt - This is nothing to do with your DNS settings. I would love to see the headers on the successful mail, to see what the difference is though.


This is down to how Apple’s outbound mail system is set up.


As a real world example we’ll use my server.


When it talks to an inbound server it anounces itself with an EHLO command

EHLO mail.timothy*****.co.uk

if you do a DNS lookup for that FQDN you’ll see it’s IP addresses


mail@mail:~$ nslookup mail.timothydutton.co.uk

Server: 213.186.33.99

Address: 213.186.33.*****


Non-authoritative answer:

Name: mail.timothy*****.co.uk

Address: 51.68.***.***

Name: mail.timothy*****.co.uk

Address: 2001:41d0:801:****::****


If you do a reverse lookup on the server IP’s


;; ANSWER SECTION:

229.196.**.**.in-addr.arpa. 86400 IN PTR mail.timothy*****.co.uk.


As you can see, everything matches up.


When it doesn’t, mail providers can reject the mail. Whoever’s responsible for the mail system needs to be looking into this and fixing their setup.


Tim



[Edited by Moderator]

Reply

May 3, 2025 10:26 AM in response to mikebhm

mikebhm wrote:

Thanks @Ravenstar68

Is that explanation consistent with the fact that sending by webmail from iCloud.com avoids the problem?


Yes.


Apple operates immense pools of servers.


One mail server or one web server is not going to handle a billion-ish iCloud users.


This for many reasons. The sheer load of users for one, and the need to have services be available when a major network link or a server pool, or an entire data center, fails.


Now within what are likely various different pools of mail servers, and different pools of DNS servers, the different servers will have different confogurations, some of which will be intentional configuration differences, and some can be stale caches or data corruptions.


Which outbound mail server is used can be based on the current load across the mail servers and trying to use less-loaded servers, servers selected based on geographic or network or data center locality, or other factors.


Many, many, many servers, organized into multiple pools, across multiple data centers.


How the EHLO works and the trigger here has been posted in a reply or two in this thread, as well.


TL;DR: yes, this is entirely consistent (mis)behavior in a complex system such as mail services at Apple’s scale. You’re using a different mail server from whichever server or servers or pool or pools have the mail or DNS misconfiguration or corruption, or getting a different receiving server from the server where the misconfiguration ormcorruption exists in the receiving mail server or its DNS.


Reply

Apr 23, 2025 5:25 AM in response to PeterKurt

It looks like I solved my problem.

On de site https://easydmarc.com/tools/spf-lookup I tested my spf and dmarc records. There was an issue with both records. So I deleted them all in my DNS and I created on the site easydmarc.com new records (same as before) and copied them to my dns, with no "" !

I made 2 spf's and 2 dmarc. 1 rule with hostname mydomain and 1 without a hostname (_dmarc and _dmarc.mydomain.com).

The next tests on easydmarc.com where now OK.

So after 1 hour whaiting i tested my e-mail again on dmarctester.com and now all was OK

Why the problem was solved by deleting the dns records and make them new, I have no clue, but it worked for me.

Or maybe Apple also did something with the spf records?

Now I sent a tesmail to a ziggo.nl adress and hope it is not comming back this time. Fingers crossed..

Reply

How to resolve 'HELO/EHLO outbound.qs.icloud.com is not matching your DNS configuration' error in iCloud Mail?

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