On Wed, Jun 3, 2015 at 11:42 AM, Wietse Venema <wie...@porcupine.org> 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.
I don't understand this. Wouldn't that skip all of the following checks? If it is from the general Internet, it would be sent off to amavis on 127.0.0.1 port 10024. I would think the client is now the MX server's IP/hostname so I can't put the other client restriction checks in the 10025 port or lmtp-amavis section of master.cf