client host rejected: cannot find your reverse hostname

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

client host rejected: cannot find your reverse hostname

Post by musabr187 » 14 Jan 2019 10:03

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: 2768
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: client host rejected: cannot find your reverse hostname

Post by shawniverson » 14 Jan 2019 22:35

That's a good postfix question. I believe this is possible, but I am unsure of the exact steps to take.
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

musabr187
Posts: 10
Joined: 24 Sep 2018 06:02

Re: client host rejected: cannot find your reverse hostname

Post by musabr187 » 15 Jan 2019 05:33

Hi shawniverson,
Thanks for your reply.

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

musabr187
Posts: 10
Joined: 24 Sep 2018 06:02

Re: client host rejected: cannot find your reverse hostname

Post by musabr187 » 21 Jan 2019 04:50

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