21 Aug
2007
21 Aug
'07
10:52 a.m.
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