[exim] Help with a router/condition.

Pàgina inicial
Delete this message
Reply to this message
Autor: JM
Data:  
A: exim-users
Assumpte: [exim] Help with a router/condition.
Greeting,

I am in the process of moving from WindowsDomain1 to WindowsDomain2, and
I have my Exim 4.62 box in front of my inbound e-mail.

I need a way to decide "what" e-mail server to deliver mail to. WindowsDomain1
uses
Exchange 5.5, WindowsDomain2 user E2K.

I have the correct ldap lookups, as I get data back, and if I wanted to use the
redirect driver in the router, it works fine. I just cant seem to get the
"condition"
or string expansion right.

The following is close, but I get the error:
myrouter: missing or misplaced { or }

condition = ${if match{${lookup
ldap{user=CN=someuser,OU=part1,DC=1,DC=2,DC=3,DC=4 pass=xxx \
ldap://server:3268/DC=blah,DC=blah1,DC=domain,DC=com?mail?sub?(&(|(objectClass=u
ser)(objectClass=publicFolder)(objectClass=group))\
(proxyAddresses=SMTP:${quote_ldap:${local_part}@${domain}}))}{${local_part}@${do
main}}}}{yes} no}}


Thanks.