On Wed, Sep 10, 2014 at 04:51:31PM +0200, Roel van Meer wrote: > Would it be difficult to extend the pipemap functionality so it does a > lookup in the second map for each of the results produced by the first map?
Unfortunately, yes. The Postfix dictionary abstraction is a simple key->value service, and has no notion of "multiple-results". The various *SQL and LDAP tables internally concatenate multiple query results into a single comma-separated string and hope that's useful. The higher layers see a single output string. The dictionary API would have to be redesigned to support a list of results, with LDAP, ... returning a list instead of a single comma separated string. This is a major change. -- Viktor.