Dominic Raferd:
> Is there a command-line tool that can simulate postfix's ip-matching syntax
> with semicolons and double dots?
> 
> # echo "127.0.0.3"|grepcidr "127.0.0.[1;3;5]"
> grepcidr: Not a valid pattern: 127.0.0.[1;3;5]
> # echo "127.0.0.3"|grepcidr "127.0.0.[1..5]"
> grepcidr: Not a valid pattern: 127.0.0.[1..5]

I think that the syntax is used only for DNS[BW]L lookup results.
There is a postmap CLI for table lookups, but no equivalent CLI
for DNS[BW]L. 

Long ago I tried to use DNS as a lookup table, but that idea never
worked out.

        Wietse

Reply via email to