Reverse DNS is not a valid Hostname


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

The result of postconf smtp_helo_name is:

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

Why smtp_helo_name reply $hotname, that looks strange.

And I have two warnings with

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

In, I have:

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

In /etc/mailname there is

What can I do to fix these warnings?

Thanks, Vincent.


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

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.

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

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

The result of for this is ok: SMTP Reverse DNS Mismatch OK - 192.34.XXX.XXX resolves to

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.