fre, 02,.09.2005 kl. 11.06 +0100, skrev Tony Finch:
> Another way to do what you want might be to use your mail host names as
> mail domains for internal routing purposes. Then you have a redirect
> router which produces addresses like [EMAIL PROTECTED], plus a manualroute
> router for other mailhosts and an accept router for local users.
I've tried this. First, I would prefer not to have the redirect router,
because if my email [EMAIL PROTECTED] resolves to the two users test1 and
test2. test1 is on the local box, and test2 is on another host. I can't
be sure that the other box accepts mail for [EMAIL PROTECTED], even
though it accepts [EMAIL PROTECTED] If you understand what I mean?
Second, I can't get it to work. If I use this:
ldap_user:
debug_print = "R: ldap_user [EMAIL PROTECTED]"
driver = redirect
domains =
ldap;ldaps:://buick.jordet.net/sendmailMTAClassName=VirtHost,ou=domains,ou=exim,ou=services,dc=jordet?sendmailMTAClassValue?\
sub?sendmailMTAClassValue=$domain
address_data = ${lookup ldapm {ldaps://buick.jordet.net/\
ou=People,dc=jordet?uid,mailHost?sub?\
(&(objectClass=inetLocalMailRecipient)\
(mailLocalAddress=${quote_ldap:[EMAIL PROTECTED]))}}
data = [EMAIL PROTECTED]
I only get one user... I guess that's just me being silly, so I'd
appreciate some help.
Best regards,
Stian
--
## 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/