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.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to