6

My dedicated server ns382087.ovh.net resolves to 46.105.98.72 and hosts multiple domain with several dedicated IP addresses. Each new IP address is added to /etc/network/interfaces

Among them, the dedicated server hosts my domain grand-manitou.com which resolves to 46.105.48.41

MXToolbox.com states that there is an issue when performing SMTP Test: Warning - Reverse DNS does not match SMTP Banner

My question is: how can I solve this problem?

Edit: Is there a workaround to configure my domain grand-manitou.com so that it designates ns382087.ovh.net as smtp/mail server ?

1

5 Answers 5

3

When your mail server identifies itself at SMTP time, it says its name is:

220 ns382087.ovh.net ESMTP

However, the SMTP server (obtained from grand-manitou.com's MX record) is actually mail.grand-manitou.com at 46.105.48.41.

The solution is to configure your mail server to identify itself correctly as mail.grand-manitou.com.

1
  • 4
    MX records are for incoming mail, and are only tangentially related to the servers that send outgoing mail - they're often the same, but they certainly don't have to be.
    – nickgrim
    Jan 14, 2013 at 13:05
3

I go another way. FOrget your domain, that has no part.

THe server name is ns382087.ovh.net - that is what the SMTP identifies itself as. Irrelevant what the domain is named that has the emails. OTherwise providers could not use one server for many domains (only one PTR ever exists).

The problem is that a PTR lookup on ns382087.ovh.net must include the IP of the server, and ns382087.ovh.net must go to the same IP. That way someone can see that yes, the server is the server that should be there.

Again, your domain is totally not part of that - this server check happens before the user email domain is checked. Just make sure your server name map forward and packward to the IP and that the SMTP agent uses the server name.

It is quite common for anyone outside smallest stuff that this is NOT the domain name - domains may be served by multiple servers. Or you may use a specific token name here (smtp.yourdomain...) All that is important is that the name of the SMTP service during handshake relates to the DNS in the proper way.

Check DNS and PTR for SMTP: shared IPs and subdomains for another explanation of things.

1
  • 1
    while you're technically correct, leaving HELO/rDNS to a generic nsxxx.ovh.net name will give you additional spampoints or even rejects on some spamfilter systems. it's usually better to configure a hostname under your own control so the receiving side knows this vps was meant a legit mailserver and isn't just yet another owned botnet drone.
    – Gryphius
    Jan 14, 2013 at 12:52
3
$ host -t mx grand-manitou.com
grand-manitou.com mail is handled by 10 mail.grand-manitou.com.

$ host mail.grand-manitou.com
mail.grand-manitou.com has address 46.105.48.41

$ host 46.105.48.41
41.48.105.46.in-addr.arpa domain name pointer grand-manitou.com.

grand-manitou.com != mail.grand-manitou.com

Your ovh server doesn't enter into it and will never receive mail for grand-manitou.com

2
  • I should have added that multiple IP addresses are rerouted by my ISP to my server. auto eth0:1 iface eth0:1 inet static address 46.105.48.41 netmask 255.255.255.255 broadcast 46.105.48.41
    – TheFoOL
    Jan 14, 2013 at 14:08
  • 1
    Then this - and only this - is the reason most MTAs will refuse you. You should bind your mail server to the correct outgoing address.
    – adaptr
    Jan 14, 2013 at 14:15
1

your MTA helo's with ns382087.ovh.net instead of grand-manitou.com. some spamfilters compare the SMTP helo to the (forward confirmed) reverse dns of your mailserver, so it's usually best to have HELO/rDNS/A-record in sync.

set the SMTP HELO to "grand-manitou.com". this can usually either be done by changing the system hostname (many MTAs get the default helo from that) or by overriding it in your MTA's configuration.

2
  • This is rarely if ever an issue; he needs FCrDNS, not EHLO.
    – adaptr
    Jan 14, 2013 at 13:07
  • 1
    dig -x 46.105.48.41 +short yields grand-manitou.com , dig grand-manitou.com +short yields 46.105.48.41 where do you see a fcrdns problem?
    – Gryphius
    Jan 14, 2013 at 13:12
0

Thank you all for your answers.

Here is what I did.

I've modified:

mail.grand-manitou.com. A 46.105.48.41

to:

mail.grand-manitou.com. A 46.105.98.72

And I've added this new DNS record:

46.105.98.72 / 24 PTR mail.grand-manitou.com.

Now, I've got this result from MX Toolbox SMTP Test:

SMTP Reverse Banner Check: OK - 46.105.98.72 resolves to ns382087.ovh.net

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .