Yes,
i solved problem using how result_attribute a single-valued attribute.

Thanks

Victor Duchovni wrote:
> On Thu, Dec 03, 2009 at 01:57:07AM +0100, Giovanni Mancuso wrote:
>
>   
>> result_attribute = domains
>> result_format = [127.0.0.1]:2501
>> expansion_limit = 1
>>
>> But i have:
>> postfix/trivial-rewrite[12577]: warning: dict_ldap_get_values[1]:
>> /opt/postfix/etc/ldap/ldap_relaymaps.cf: Expansion limit exceeded for
>> key: 'pi...@example1.org'
>>
>> If i delete example2.org and example3.org from ldap, it works correctly.
>>     
>
> If the "domains" attribute is multi-valued, or multiple entries match
> the query, you cannot use this schema to determine the relayhost. Your
> query must match a single LDAP entry and return a single-valued attribute.
>
> Postfix will not ignore attribute values in the result-set.
>
>   

Reply via email to