francis picabia:
> On Wed, Jun 3, 2015 at 11:42 AM, Wietse Venema <[email protected]> wrote:
> > francis picabia:
> >> > /etc/postfix/main.cf:
> >> > smtpd_client_restrictions =
> >> > check_client_access cidr:/etc/postfix/client_access.cidr
> >> >
> >> > /etc/postfix/client_access.cidr:
> >> > 1.2.3.4/24 DUNNO
> >> > 5.6.7.8/24 DUNNO
> >> > 0.0.0.0/0 FILTER foo:bar
> > ...
> >> How do I add the client_access.cidr to the list of checks?
> >
> > At the beginning of smtpd_client_restrictions.
>
> Wouldn't that skip all of the following checks?
No. As documented in access(5):
DUNNO Pretend that the lookup key was not found.
You may also want to lookup how smtpd_client_restrictions works.
Wietse