Question

Reverse DNS is not a valid Hostname

Hello,

I installed postfix with webmin on Ubuntu14 LTS. For the reverse DNS, the name of the droplet is mydomain.com.

The result of postconf smtp_helo_name is:

root@Ubuntu-14LTS-NY1:~# postconf smtp_helo_name
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
smtp_helo_name = $myhostname

Why smtp_helo_name reply $hotname, that looks strange.

And I have two warnings with http://mxtoolbox.com

  • Reverse DNS is not a valid Hostname
  • Reverse DNS does not match SMTP Banner -

In main.cf, I have:

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
myorigin = /etc/mailname
mydestination = mydomain.com, localhost

In /etc/mailname there is mydomain.com

What can I do to fix these warnings?

Thanks, Vincent.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I am having this same problem. Did you ever find the solution?

But the name of the droplet is mydomain.com and it points back to the IP address 192.34.XXX.XXX.

The result of http://mxtoolbox.com for this is ok: SMTP Reverse DNS Mismatch OK - 192.34.XXX.XXX resolves to mydomain.com

That’s why I think the problem comes from my postfix config, but I am not sure.

Make your droplet name a hostname that points back to its IP address.