francis picabia: > >>> Let's say I want everything to go through the content filter unless > >>> it comes from 1.2.3.4/24 or 5.6.7.8/24 How is that configured?
A cidr: based access map would be the most convenient here. /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 Remember that cidr maps are searched in the given order, unlike hash maps and other indexed files. Wietse