Hi, I used to change the mailbox root for some users using a custom userdb file which contains lines like: doe::20000:200::/u/doe::userdb_mail=mbox:/u/doe/Mail:INBOX=/var/mail/%u The logfiles shows the mail location stays default ( rc15 worked ): --- dovecot: Aug 21 09:43:49 Info: auth(default): master out: USER 250 doe system_user=doe uid=20324 gid=200 home=/u/doe dovecot: Aug 21 09:43:49 Info: imap-login: Login: user=<doe> dovecot: Aug 21 09:43:49 Info: IMAP(doe): Effective uid=20000, gid=200, home=/u/doe dovecot: Aug 21 09:43:49 Info: IMAP(doe): mbox: data=/u/doe/:INBOX=/var/mail/doe dovecot: Aug 21 09:43:49 Info: IMAP(doe): mbox: root=/u/doe, index=/u/doe, inbox=/var/mail/doe --- Configuration: # 1.0.3: etc/dovecot.conf mail_location: mbox:~/:INBOX=/var/mail/%u auth default: mechanisms: plain login digest-md5 cram-md5 ntlm verbose: yes debug: yes passdb: driver: passwd-file args: /etc/userdb_extra passdb: driver: pam userdb: driver: passwd args: /etc/userdb_extra userdb: driver: passwd-file args: /etc/userdb_extra -- Leroy
> userdb: > driver: passwd > args: /etc/userdb_extra > userdb: > driver: passwd-file > args: /etc/userdb_extra >Got it working again. The userdb driver: passwd shouldnt point to the userdb_extra file and the passwd-file should be configured first. The sequence does matter, after the first hit it doesnt look futher. -- Leroy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 21 Aug 2007, Leroy van Logchem wrote:> passdb: > driver: passwd-file > args: /etc/userdb_extra > passdb: > driver: pam > userdb: > driver: passwd > args: /etc/userdb_extra > userdb: > driver: passwd-file > args: /etc/userdb_extraDunno if it matters, but you've used passwd with the file first, try using passwd-file before the passwd driver. BTW: passdb and userdb are not consistent. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRsqnBS9SORjhbDpvAQIxAQf/Y60zyTXZIpXFq5b7629S70i4twQgLCzz G2jsIvjyagjHfDSqh4GRo1zrSZeoomCi0ELHHfgChjXuNhsiK9WswxXpH2lcSGGX oL5OFUzOhxnjgJnfsHuYNj6gF20stLfyIyQ1lH60fKDzkNkbt0khTF6lc6BGrIIo rzuErDt/gy7t6NIqYlLtRIFxSivKi2QyEnR8kow/KVweIvPz6bxeF3NdRM3RmpZy 5UVCWrx2MHD7ZBFt8KtrvkjQ16M8PBXdiujiqLAo+oEnDBtp/gi/Dt+AO7XE5Iv8 O6ZZazDhsXMNhTb0TUj3gaTSFFAf4L+3TOqdflJGyxYS+3EWFIEiHg==3+Q+ -----END PGP SIGNATURE-----