I am having problems sending email from a domain I host myself.
I have omitted the actual ip address in question, I am not sure how secure it is that I post it. However the problem is as follows:
According to my ISP the reverse was done for the my IP to point to the FQDN taht follows.
(XXX.XXX.XXX.XXX) -> mymachine.domain.com
However I still get email undelivered:
host inc.wanadoo.es[xxx.xxx.xxx.xxx] refused to talk to me: 550 Reverse DNS lookup failed for host xxx.xxx.xxx.xxx.
and upon testing I get the following error:
Reverse for xxx.xxx.xxx.xxx points to an unknown host name (mymachine.mydomain.com).
The weirdest, perhaps, is that using some tools (i.e mxtoolbox) to check that the rDNS agrees to my SMTP banner, all checks fine, however, it fails when I use other tools.
What can be the error?
Do I need a reverse for every single domain I host or is it enough with the one for the mail server?
Ubuntu Server 10.04. LTS
Postfix version 2.x.x
Edit: In trying what you suggested I received the following:
host -t a neo001.neoclash.com 184.108.40.206 mymachine.mydomain.com 220.127.116.11 Using domain server: Name: 18.104.22.168 Address: 22.214.171.124#53 Aliases: Host mymachine.mydomain.com not found: 3(NXDOMAIN)
host -t ptr 126.96.36.199.in-addr.arpa 188.8.131.52 host -t ptr 184.108.40.206.in-addr.arpa 220.127.116.11 Using domain server: Name: 18.104.22.168 Address: 22.214.171.124#53 Aliases: Host 126.96.36.199.in-addr.arpa not found: 3(NXDOMAIN)
$TTL 12H $ORIGIN mydomain.com. enter@ IN SOA ns1.mydomain.com. postmaster.mydomain.com. ( 2011030805 8H 2H 7D 1D ) IN NS ns1.mydomain.com. IN NS ns2.mydomain.com. IN MX 10 mail.mydomain.com. IN MX 20 mail.anotherdomain.net. mydomain.com. IN A 188.8.131.52 www IN A 184.108.40.206 mydomain.com. IN TXT "v=spf1 a mx ip4:220.127.116.11 ip4:18.104.22.168 ~all" localhost IN A 127.0.0.1 mail IN A 22.214.171.124 mail IN A 126.96.36.199 ns1 IN A 188.8.131.52 ns2 IN A 184.108.40.206