Dennis Putnam: > I have my Postfix configured to require proper DNS resolution in both > directions. However, I have a situation that is giving me problems > perhaps due to multiple PTR records for the IP address. I am getting > the error: > > 450 Client host rejected: cannot find your hostname > > When I 'dig' the hostname the IP address matches that of the server > making contact with my Postfix. When I 'dig -x' that same IP address, > among the many PTR records, the hostname used in the 'HELO' matches. > The from doesn't match but that is not what it is comparing, right? > > Can someone tell me what might get going on here? I am running version > 2.1.5 so perhaps that is part of the problem.
Postfix takes the first hostname that is returned by the getnameinfo() system library function. If that first name does not resolve to the client IP address, then Postfix will not try the the second etc, name. Wietse