GMX and Mailserver throws a 554 No Smtp Error and rejects your mail

Photo by 傅甬 华 / Unsplash

GMX / WEB: If Your Mails Get Rejected... With 554 No Smtp

A private email server often has problems with a public email provider...

Paul Knulst  in  Mailserver Mar 18, 2022 1 min read

Yesterday I had a problem that my NextCloud environment can't send E-Mails to a user who has an GMX address. I searched the mail server logs and found this entry:

postfix/smtp[xxx]: to=<>,[]:25, 
delay=139120, delays=139120/0.01/0.07/0, dsn=4.0.0, status=deferred 
(host[] refused to talk to me: (mxgmx011) 
Nemesis ESMTP Service not available 554-No SMTP service 554-Bad DNS PTR resource record. 
554 For explanation visit

I found out that this message will be produced if the PTR-Record (reverse DNS) is not set correctly to your mail server domain. For some mail providers, this setting is important, since spam recognition software and RFC821 4.3 (also RFC2821 4.3.1) state that the hostname given in the SMTP greeting MUST have an A record pointing back to the same server.

To check the PTR-Record use this site. For me it was something like this:

After I found the problem I go to the admin interface of my server and changed the PTR (Reverse DNS) entry into the URL of my mail server:

It is really important that the entry point to the specific URL of the mail server and NOT to the www domain!

BTW: I already mentioned this within another article but forgot to set it correctly:

Make sure that the PTR record of your IP matches the FQDN (default : mail.domain.tld) of your mailserver host. This record is usually set in your web hosting interface.

Feel free to connect with me on Medium, LinkedIn, Twitter, and GitHub.

🙌 Support this content

If you like this content, please consider supporting me. You can share it on social media, buy me a coffee, or become a paid member. Any support helps.

See the contribute page for all (free or paid) ways to say thank you!

Thanks! 🥰

By Paul Knulst

I'm a husband, dad, lifelong learner, tech lover, and Senior Engineer working as a Tech Lead. I write about projects and challenges in IT.