Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

As far as I can remember when setting up my VPS and mail server on it, I had configured the mail server correctly. However, a few of my clients get SMTP errors,

host[] said: 553 We do not accept mail from IP addresses without reverse DNS. See (in reply to RCPT TO command)

So could anyone get me further to address whether I've configured it wrong or even worse: Not configured at all.

And of course: How to resolve it?

Oh, I see that I didn't had BIND installed, so that may help most of you.

Sadly, most tutorials I find are about different subjects, instead of resolving reverse DNS on Ubuntu 12.04 VPS.


Edit, extra: I'm seeing things such as

Edit /etc/bind/named.conf.local and add the following:

zone "" {

type master;

file "/etc/bind/db.192";



Where, 1.168.192, need to replaced with my networking IP, but what's my networking IP..? My IP(v4) is completely different than 1.168.192, which actually is

share|improve this question
You don't need BIND running on your system for reverse DNS lookups to work. It's going to be a function of the DNS records set up with your VPS provider that the domain maps back to a proper A Record and MX entries that match. Your primary domain checks out fine on the tools I run, so is this for another domain you're hosting? –  douggro Feb 8 '14 at 16:17
Hey Douggro, all my domains have a dynamic dns. With fields such as /, etc. They also all run on the same vps, so the experience for each domain should be equal. The only difference is that my mail server is configured with my own fqdn > main domain > and through that mail configuration all domains go. However, I can't recreate the error with my own mail account ( but a few clients (one is (info@...) which happens to have the error of rejected because no reverse dns. Thanks –  Sander Schaeffer Feb 8 '14 at 19:33
Your SMTP server is giving your primary domain host in the SMTP banner, which is why the reverse DNS error is happening for the other domains. See if your VPS service supports PTR records, or change the MX record to point to the primary domain. I'm figuring that you got virtual domains figured out in Postfix to make this all work. ;) –  douggro Feb 8 '14 at 20:39
Yes, I can change PTR records myself, which haven't been configured at all. To have a view of the dynamic DNS records, as well as the possible fields, check out this screenshot -> - The below (filled in) fields. I think I don't need to clarify them. The above, empty fields, are the possible to be added fields. What should I fill in the name and value fields of the PTR? Note: |Domain| = dynamic. whereas smtp.|domain|.nl for a domain as iSCS, would result in Please use |domain|, unless all domains should point to a PTR record of my FQDN domain. Thanks –  Sander Schaeffer Feb 8 '14 at 20:48
I believe the PTR record would have to be explicit to point to your system hostname that Postfix is using. Something like mail.|DOMAIN| IN PTR since Postfix is announcing itself as 220 ESMTP Postfix –  douggro Feb 8 '14 at 20:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.