[Exim] Exim, LDAP, multiple virtual-delivery

Etusivu
Poista viesti
Vastaa
Lähettäjä: diederik
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] Exim, LDAP, multiple virtual-delivery
Hi,

I don't know whether this option is meant to work ok..
but the situation is as follows:
In this situation i've got 2 accounts in ldap,
uid1 and uid2, both with the same emailaddres, user@domain
but with different forwards.

The above works ok, whenever someone mails to user@domain the mail
gets deliverd to the both forwards.

BUT, when I remove the forwards, i'd expect the email to be delivered
locally..
this is not the case, instead exim tries to make 1 mailbox of it,
glues the two local mailboxes together in the form of:
(/mail)/domain/u/s/e/user^Jdomain/u/s/e/user2/
while this should be 2 directories:
(/mail)/domain/u/s/e/user
(/mail)/domain/u/s/e/user2
My exim version is 4.00, but the same happened with 3.34

My lookup config looks like:
ldapm ?mailaddress?sub?(&(mailaddress=$local_part@$domain)(status=active))

in exim debug it looks like:
LDAP attr loop mailboxid:domain/u/s/e/user
ldap_result loop
LDAP entry loop
LDAP attr loop mailboxid:domain/u/s/e/user2
search ended by ldap_result yielding 101
LDAP search: returning: domain/u/s/e/user
domain/u/s/e/user2
lookup yielded: domain/u/s/e/user
domain/u/s/e/user2
directory=/mail/domain/u/s/e/user
domain/u/s/e/user2 format=maildir

Can someone plz help me make exim deliver to 2 mailboxes instead of 1
I can't do anything serious with? :)

Regards,
Diederik
--
Diederik Damen - (Unix) Systems Engineer

Easynet Group Nederland BV
Siriusdreef 43-45, 2132 WT Hoofddorp The Netherlands
PO-Box 2034, 2130 GE Hoofddorp, The Netherlands
Tel +31 23 880 0088, Fax +31 23 880 0099
Email Diederik.Damen@???