Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-05 Thread Giovanni Mancuso
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: >> postfi

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-03 Thread Victor Duchovni
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 ex

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-03 Thread lst_hoe02
Zitat von Jerry : On Wed, 2 Dec 2009 20:51:16 -0500 (EST) Wietse Venema replied: Wietse: You must return a result that satisfies the documented syntax. http://www.postfix.org/postconf.html#relayhost Wietse, maybe it is something local to my machine; however that URL yields this result here

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-03 Thread Jerry
On Wed, 2 Dec 2009 20:51:16 -0500 (EST) Wietse Venema replied: >Wietse: >> You must return a result that satisfies the documented syntax. >> http://www.postfix.org/postconf.html#relayhost Wietse, maybe it is something local to my machine; however that URL yields this result here: Not Found The

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread /dev/rob0
> Wietse Venema wrote: > > Giovanni Mancuso: > > > >> I'm trying to configure my postfix to use a different > >> relayhost if the sender of the email is in ldap. > > > > You must return a result that satisfies the documented syntax. > > http://www.postfix.org/postconf.html#relayhost On Thu, Dec

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Wietse Venema
Wietse: > You must return a result that satisfies the documented syntax. > http://www.postfix.org/postconf.html#relayhost Giovanni Mancuso: > Thanks for answer. > > But, can i configure ldap search to manage multivalue in entry? See my previous reply, above. Wietse

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Giovanni Mancuso
Thanks for answer. But, can i configure ldap search to manage multivalue in entry? I tried with: server_host = ldap://x.x.x.x server_port = 389 search_base = SenderHost=exampleSender,o=AllHost scope = sub query_filter = (&(domains=%d)(objectClass=provider)) result_attribute = domains result_forma

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Wietse Venema
Giovanni Mancuso: > Hi guys, > > I'm trying to configure my postfix to use a different relayhost if the > sender of the email is in ldap. You must return a result that satisfies the documented syntax. http://www.postfix.org/postconf.html#relayhost Wietse

sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Giovanni Mancuso
Hi guys, I'm trying to configure my postfix to use a different relayhost if the sender of the email is in ldap. My ldap entry is: dn: SenderHost=exampleSender,o=AllHost objectClass=provider domains: example1.org domains: example2.org domains: example3.org The "domain" attribute is multivalue. I