10.02.22, 15:16 +0100, Juergen Dollinger:
Ludi Cree wrote:
Hi,
Feb 8 13:44:40 mail postfix/smtpd[22650]: warning: hostname 43392.vm.hostglobal.ws does not resolve to address 109.237.100.107 Feb 8 13:44:40 mail postfix/smtpd[22650]: connect from unknown[109.237.100.107] Feb 8 13:44:40 mail postgrey[739]: action=pass,
Zunächst mal wäre der mit reject_unknown_client_hostname gar nicht erst durchgekommen. Würde ich empfehlen in den client restrictions zu setzen.
Warum postfix oft schreibt "connect from unknown", obwohl die IP im DNS aufloest, so auch hier (109.237.100.107 loest zu 43392.vm.hostglobal.ws auf), versteh ich auch nicht.
Weil die Vorwärtsauflösung dieses Namens nicht wieder dieselbe IP zurück gibt, sondern eine andere:
| $ host 109.237.100.107 | 107.100.237.109.in-addr.arpa domain name pointer 43392.vm.hostglobal.ws. | $ host 43392.vm.hostglobal.ws | 43392.vm.hostglobal.ws has address 109.237.96.112
109.237.100.107 <> 109.237.96.112
So haette reject_unknown_client_hostname hier nicht gegriffen.
Doch, wegen "3)" aus postconf(5):
reject_unknown_client_hostname (with Postfix < 2.3: reject_unknown_client) Reject the request when 1) the client IP address->name mapping fails, or 2) the name->address mapping fails, or 3) the name->address mapping does not match the client IP address. This is a stronger restriction than the reject_unknown_reverse_client_hostname feature, which triggers only under condition 1) above.