On onsdag, nov 13, 2002, at 23:10 Europe/Copenhagen, Claudio Jeker wrote:

On Wed, Nov 13, 2002 at 12:14:39PM +0100, Daniel Eggert wrote:
Hi all,

I've read through quite a lot of documentation, but I still can't
figure it out.

On the mail server, there's a local user 'eggert' with homedir
/usr/home/eggert. I want mail to the user 'eggert' to go to a
(completely) different homedir defined in the LDAP database. No matter
if I put
	homeDirectory: /home1/eggert/
or
	mailMessageStore: /home1/eggert/
all mail to eggert@xxxx still go into /usr/home/eggert. Why?

The local (passwd) db is only searched if the ldap search returned no
user entry. How does your ldap/ldif entry of the user eggert look like.
Have you tested qmail-ldaplookup -d 255 -m [EMAIL PROTECTED]?
Yes, it finds the ldap user, but things seem to be more complicated, since it will use the local (passwd) home dir. That's what got me confused. I have to define the homedir in the ldap database to circumvent this problem as long as the user is also local... for what ever reason.

Daniel

Reply via email to