client host rejected: cannot find your reverse hostname

Questions and answers about how to do stuff
Post Reply
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

client host rejected: cannot find your reverse hostname

Post 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.
Last edited by musabr187 on 21 Jan 2019 04:54, edited 1 time in total.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: client host rejected: cannot find your reverse hostname

Post by shawniverson »

That's a good postfix question. I believe this is possible, but I am unsure of the exact steps to take.
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

Re: client host rejected: cannot find your reverse hostname

Post by musabr187 »

Hi shawniverson,
Thanks for your reply.

It would be highly appreciate if anyone could shed some light on this issue.
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

Re: client host rejected: cannot find your reverse hostname

Post 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
Post Reply