[Exim] quote_ldap() not sufficient to route addresses with q…

Top Page
Delete this message
Reply to this message
Author: Marc Langer
Date:  
To: exim-users
Subject: [Exim] quote_ldap() not sufficient to route addresses with question marks?
Hello,

I use quote_ldap in all LDAP related lookups but one error still
occurs (sorry for long lines):

# exim -d -bt 14-524019-a-alliance.com?jcs@???

LOG: MAIN PANIC
failed to expand "${lookup ldapm {ldap:///ou=gk-mail,o=uni-X%20Software%20AG?mailhost?sub?(&(|(mail=$local_part@$domain)(mail=@$domain) (MailAlternateAddress=$local_part@$domain)) (!(mailhost=relay2.uni-X.net))(!(mailrouter=relay2.uni-X.net))(mailrouter=*))}{$domain}{}}" while checking a list: lookup of "ldap:///ou=gk-mail,o=uni-X%20Software%20AG?mailhost?sub?(&(|(mail=14-524019-a-alliance.com?jcs@???)(mail=@stderr.firstratedeals.com) (MailAlternateAddress=14-524019-a-alliance.com?jcs@???)) (!(mailhost=relay2.uni-X.net))(!(mailrouter=relay2.uni-X.net))(mailrouter=*))" gave DEFER: ldap_url_parse: (error 5) parsing "ldap:///ou=gk-mail,o=uni-X%20Software%20AG?mailhost?sub?(&(|(mail=14-524019-a-alliance.com?jcs@???)(mail=@stderr.firstratedeals.com) (MailAlternateAddress=14-524019-a-alliance.com?jcs@???)) (!(mailhost=relay2.uni-X.net))(!(mailrouter=relay2.uni-X.net))(mailrouter=*))"

domains check lookup or other defer
14-524019-a-alliance.com?jcs@??? cannot be resolved at this time: domains check lookup or other defer

Do I need another quote functions?
My Exim version is 4.10.

Thanks,
Marc