And I would use "check_client_access" instead?
Yes. Note that trailing comments are not part of the Postfix
map syntax. Any comment must occupy its entire line.
Good to know. I would have screwed this up at some point if I haven't
already.
You can use a CIDR map if you prefer, something like:
# This one's ours
192.0.2.1/32 OK
with:
check_client_access cidr:/some/file
buf if there's ever just one literal matching key:
check_client_access inline:{ { 192.0.2.1 = OK } }
Ok, didn't know about this either. Thanks!