> On May 14, 2018, at 2:46 PM, jack <j...@jackpot.uk.net> wrote:
> 
> The fact which I think may be undocumented is that postfix (but not
> postmap) performs iterative prefix queries, when (and only when?) the
> table-type is indexed.

This is basic logic, support for multi-line header/body lookups
notwithstanding, postmap does not know the syntax of the lookup
key or purpose of the tables, you hand it a key and it looks up
the value.  It couldn't possibly implement access(5) semantics,
because it has no idea it is doing access(5) lookups, or which
of the key types (email address, hostname, ip address, ...) you're
giving it.

Perhaps this (logically inescapable) limitation should be explicitly
called out in the postmap(1) manpage, since, despite it being clearly
impossible, users nevertheless seem to expect postmap(1) to be 
omniscient.

-- 
        Viktor.

Reply via email to