@Matus
Listed on lists related with Postfix, from my main.cf:
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client
zen.spamhaus.org, check_recipient_access mysql:/etc/postfix/
mysql-virtual_recipient.cf, check_recipient_access mysql:/etc/postfix/
mysql-virtual_policy_greylist.cf

@Wietse
Currently I have in main.cf:
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/
mysql-virtual_client.cf

Should this line be modified as:
smtpd_client_restrictions = check_client_access inline:{91.218.208.22=ok }
mysql:/etc/postfix/mysql-virtual_client.cf
OR
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/
mysql-virtual_client.cf, inline:{91.218.208.22=ok }

Btw I am curious - is it possible to turn off ip verification only for
clients?

2018-06-11 12:53 GMT+02:00 Wietse Venema <wie...@porcupine.org>:

> Poliman - Serwis:
> > 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.
>
> 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
>



-- 

*Pozdrawiam / Best Regards*
*Piotr Bracha*

Reply via email to