On Wed, Nov 24, 2010 at 07:44:57PM +0100, Neven Luetic wrote:

>
>>
>>> for setting up some mailing lists I don't want to list the users mail
>>> addresses directly in the group (as in the LDAP-Howto #1), nor would I 
>>> like
>>> to use the dn (as in Example #2).
>>
>> If you don't want to do it the right way, you get to do it the hard way,
>> whatever that is.
>
> I can't change the LDAP setup.

In any given context (e.g. virtual_alias_maps) Postfix supports table
drivers that take one of the documented lookup keys as input
and return the one of the documented supported outputs.

The LDAP driver performs a single query and returns the configured result
attributes, with special (recursive) processing of DN references and
LDAP URIs.

If your LDAP schema and the data loaded into your LDAP server
supports queries that return suitable data for a particular purpose
(e.g. virtual(5) lookups), then you can use LDAP.

Otherwise, you need to extend/modify your LDAP schema or data or use
a different data source.

-- 
        Viktor.

Reply via email to