Page 1 of 1

client host rejected: cannot find your reverse hostname

Posted: 14 Jan 2019 10:03
by musabr187
Hi,
How to allow a domain in EFA who have no PTR record. I don’t want to remove postfix restriction for PTR record. Actually I want to exclude some domain for postfix PTR restriction.

Thanks in advance.

Re: client host rejected: cannot find your reverse hostname

Posted: 14 Jan 2019 22:35
by shawniverson
That's a good postfix question. I believe this is possible, but I am unsure of the exact steps to take.

Re: client host rejected: cannot find your reverse hostname

Posted: 15 Jan 2019 05:33
by musabr187
Hi shawniverson,
Thanks for your reply.

It would be highly appreciate if anyone could shed some light on this issue.

Re: client host rejected: cannot find your reverse hostname

Posted: 21 Jan 2019 04:50
by musabr187
After doing some search and research, I found a way to exclude some IP for PTR restriction –

Code: Select all

# vi /etc/postfix/ client_access
1.2.x.x   OK
3.4.x.x   OK

Code: Select all

# vi /etc/postfix/main.cf
smtpd_client_restrictions = permit_sasl_authenticated, reject_rbl_client zen.spamhaus.org, check_client_access hash:/etc/postfix/client_access, reject_unknown_reverse_client_hostname
# postmap /etc/postfix/client_access
# service postfix reload