DevHeads.net

exclude specific external IP from postfix blacklists

I have a problem with specific IP 91.218.208.22. People from network behind
this address can't connect to mailserver, because - as I found out - this
ip address is listed. Not exactly this specific address but whole C class.
I saw Postfix uses blacklists in own configuration but I would like to
exclude only this one IP.

Comments

Re: exclude specific external IP from postfix blacklists

By Wietse Venema at 06/11/2018 - 06:53

Poliman - Serwis:
There are many ways to do this. Here is one:

...
reject_unauth_destination
check_client_access inline:{91.218.208.22=ok, 1.2.3.4=OK}
reject_rbl_client foo.bar.org
...

Wietse

Re: exclude specific external IP from postfix blacklists

By Matus UHLAR - f... at 06/11/2018 - 06:52

On 11.06.18 11:31, Poliman - Serwis wrote:
listed where?

find the rule blocking 91.218.208.22 and insert another one allowing this IP
in front of the rule.