Eugene Podshivalov:
> Hi all,
> I have the following config
> 
> > smtpd_client_restrictions =
> >     reject_unknown_client_hostname
> > smtpd_helo_required = yes
> > smtpd_helo_restrictions =
> >     reject_invalid_helo_hostname,
> >     reject_non_fqdn_helo_hostname,
> >     reject_unknown_helo_hostname
> > smtpd_sender_restrictions =
> >     reject_non_fqdn_sender,
> >     reject_unknown_sender_domain
> 
> 
> but still get warnings like this
> 
> > postfix/smtpd[24986]: warning: hostname server17-ams1.internet-census.org
> > does not resolve to address 107.6.163.34: Name or service not known
> > postfix/smtpd[24986]: connect from unknown[107.6.163.34]
> > postfix/smtpd[24986]: NOQUEUE: reject: CONNECT from unknown[107.6.163.34]:
> > 450 4.7.25 Client host rejected: cannot find your hostname, [107.6.163.34];
> > proto=SMTP
> > postfix/smtpd[24986]: disconnect from unknown[107.6.163.34] ehlo=0/1
> > quit=1 commands=1/2

Postfix logs this warning, so that you can understand WHY a client
may be rejected with reject_unknown_client_hostname, and how the
problem may be fixed.

1 - A problem with the address->name mapping (lookup failed)

2 - A problem with the address->name mapping (the mapping does not
    exist).

3 - A problem with the name->address mapping (lookup failed)

4 - A problem with the name->address mapping (the mapping does not
    exist)

5 - A problem with the name->address mapping (the mapping does not
    match the client IP address)

In your case the probkem was #4.

        Wietse

Reply via email to