Halassy Zoltán a écrit : > Hello! > > (sorry for my trash-english) > > Will Postfix handle properly multiple PTR records when > reject_unknown_client_hostname is in effect? >
this has nothing to do with PTRs. this only checks that helo resolves. the resulting IP doesn't matter. > Like would it accept an e-mail when it comes from 1.2.3.4 and > 2001::1234:2 if smtp_helo_name is mail.example.com when the DNS records > are the following? > > example.com. MX 10 mail.example.com. > www.example.com. A 1.2.3.4 > mail.example.com. A 1.2.3.4 > www.example.com. AAAA 2001::1234:1 > mail.example.com. AAAA 2001::1234:2 > 1.0.0.0.4.3.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.2.ip6.arpa. > PTR www.example.com. > 2.0.0.0.4.3.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.2.ip6.arpa. > PTR mail.example.com. > 4.3.2.1.in-addr.arpa. PTR www.example.com. > 4.3.2.1.in-addr.arpa. PTR mail.example.com. There is really no reason to use multiple PTRs. $ host 91.121.103.130 130.103.121.91.in-addr.arpa domain name pointer imlil.netoyen.net. $ host www.netoyen.net www.netoyen.net has address 91.121.103.130 $ host mx.netoyen.net mx.netoyen.net has address 91.121.103.130 ... The IP has one PTR, but multiple names resolve to this IP.