On Tue, 2005-07-05 at 17:24 +0100, Tony Finch wrote: > On Tue, 5 Jul 2005, Jason Martens wrote: > > > I know that the lookup is working, because I am using the exact same > > lookup for the data = part, and that works as expected. Here's my > > router config: [...] If I change senders to "senders = > > [EMAIL PROTECTED]", then it works just fine. Any thoughts? > > The difference between "senders" and "data" is that the former is a list > and the latter is not. You need to either double the colons in the lookup, > or prefix it with <| to change the separator from : to | or you can use > any other character that doesn't appear in the string.
I thought that might have something to do with the problem, but changing the separator character doesn't seem to help. Here's the output I'm getting from exim4 -d -f [EMAIL PROTECTED] -bt [EMAIL PROTECTED] --------> ldap_test router <-------- local_part=isdept domain=some.domain checking senders search_open: ldapm "NULL" search_find: file="NULL" key=" user="CN=A user,DC=some,DC=domain" pass="password" ldap://localhost:1234/DC=some,DC=domain?mail?subtree?(memberOf=CN=A Group,OU=groups,DC=some,DC=domain)" partial=-1 affix=NULL starflags=0 LRU list: :/etc/aliases End internal_search_find: file="NULL" type=ldapm key=" user=CN=A user,DC=some,DC=domain" pass="password" ldap://localhost:1234/DC=local,DC=cityofevanston,DC=org?mail?subtree?(memberOf=CN=A Group,OU=groups,DC=some,DC=domain)" database lookup required for user="CN=A user,DC=some,DC=domain" pass="password" ldap://localhost:1234/DC=local,DC=cityofevanston,DC=org?mail?subtree?(memberOf=CN=Domain IS,OU=groups,DC=local,DC=cityofevanston,DC=org) LDAP parameters: user=CN=A user,DC=some,DC=domain pass=password size=0 time=0 connect=0 dereference=0 perform_ldap_search: ldapm URL = "ldap://localhost:1234/DC=local,DC=cityofevanston,DC=org?mail?subtree?(memberOf=CN=A Group,OU=groups,DC=some,DC=domain)" server=NULL port=0 sizelimit=0 timelimit=0 tcplimit=0 after ldap_url_parse: host=localhost port=1234 ldap_initialize with URL ldap://localhost:1234/ initialized for LDAP (v3) server localhost:1234 LDAP_OPT_X_TLS_TRY set binding with user=CN=A user,DC=some,DC=domain password=password Start search ldap_result loop LDAP entry loop LDAP attr loop mail:[EMAIL PROTECTED] ldap_result loop LDAP entry loop LDAP attr loop mail:[EMAIL PROTECTED] ldap_result loop LDAP entry loop LDAP attr loop mail:[EMAIL PROTECTED] search ended by ldap_result yielding 115 ldap_parse_result: 94 ldap_parse_result yielded 0: Success LDAP search: returning: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] lookup yielded: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] address match: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] in "<| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]"? no (end of list) ldap_test router skipped: senders mismatch --------> next_router router <-------- -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
