>From QLDAPINSTALL - RTFM :) ~control/ldaplocaldelivery To lookup the local passwd file if the LDAP lookup finds no match. This affects qmail-lspawn and auth_* if the LDAP lookup returns nothing. Default: enabled Example: 1 Note: boolean, use 0 (zero) or 1 (one)
Disabling this may help. Make sure you have appropriate Maildir/Mailbox in the virtual home /home1/eggert. But there are some other pitfalls, probably you can deliver mail to /home1/eggert only in virtual user environment, I mean you have no LDAP users with shell and homedir in your server. Otherwise, pam(nss)_ldap, qmail-ldap and qmail-local would mess it up to unpredictable level. FYI - this is from my test box (qmail-ldap + M$ Active Directory) pwin is a local user on mailserver and AD User. [root@master root]# id pwin uid=1202(pwin) gid=1202(pwin) groups=1202(pwin) [root@master root]# echo test_ldap | mail [EMAIL PROTECTED] [root@master root]# ls -l /home/vmail/pwin/Maildir/new/ total 4 -rw------- 1 vmail vmail 273 Nov 13 13:37 1037187426.20583.master. adlinux.dom,S=273 [root@master root]# ls -al /home/pwin total 16 drwx------ 3 pwin pwin 73 Nov 13 13:35 . drwxr-xr-x 19 root root 4096 Nov 13 13:35 .. -rw-r--r-- 1 pwin pwin 24 Nov 13 13:35 .bash_logout -rw-r--r-- 1 pwin pwin 191 Nov 13 13:35 .bash_profile -rw-r--r-- 1 pwin pwin 124 Nov 13 13:35 .bashrc drwx------ 5 pwin pwin 36 Nov 13 13:35 Maildir [root@master root]# ls -l /home/pwin/Maildir/new/ total 0 [root@master root]# Best regards, Roman Kozello, NPP BelSoft mailto:rkoz@;belsoft.by > -----Original Message----- > From: Daniel Eggert [mailto:danieleggert@;mac.com] > Sent: Wednesday, November 13, 2002 1:15 PM > To: [EMAIL PROTECTED] > Subject: local vs. LDAP user > > > 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? > > Thanks in advance, > Daniel > >