postfix-2.8-20101126 implements pattern matching for DNSB/WL results.

For example, "reject_rbl_client example.com=127.0.0.[2,4,6..8]"
rejects clients when the lookup result is 127.0.0.2, 127.0.0.4,
127.0.0.6, 127.0.0.7, or 127.0.0.8. This is the same result as
with "postscreen_dnsbl_sites = example.com=127.0.0.[2,4,6..8]".

More precisely, An IPv4 address pattern has four fields separated
by ".".  Each field is either a decimal number, or a sequence inside
"[]" that contains one or more comma-separated decimal numbers or
number..number ranges.

This syntax can be extended in the future, for example [!1,2,3]
would match all but 1,2 or 3 when the need arises.

        Wietse

Reply via email to