Robert Lopez: > On Tue, Apr 6, 2010 at 12:23 PM, Wietse Venema <wie...@porcupine.org> wrote: > > Robert Lopez: > > Now that you mention the documentation: > > > >> SYNOPSIS > >> ? ? ? ?postmap -q "string" cidr:/etc/postfix/filename > >> > >> ? ? ? ?postmap -q - cidr:/etc/postfix/filename <inputfile > >> > >> DESCRIPTION > > ... > >> ? ? ? ?To test lookup tables, use the ?"postmap ?-q" ?command ?as > >> ? ? ? ?described in the SYNOPSIS above. > > > > It takes some perseverance to find that text. > > That is another point that has me confused. > I have been testing to make certain changes I have made to the access file > were really there with postmap -q.
The synopsis says: postmap -q "string" cidr:/etc/postfix/filename > As I originally posted: "An strace of "postmap -q <any-pattern> > cidr-ip" shows it is the cidr-ip.db file that is being read." by > postmap. The synopsis says that you should use cidr:filename. Wietse