The correct directory is /home/user/mail/ My dovecot -n :
# 1.2.6: /etc/dovecot/dovecot.conf # OS: Linux 2.6.16.13-4-smp i686 SUSE LINUX 10.1 (i586) protocols: imap listen: my-ip ssl: no disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u mbox_write_locks: fcntl dotlock lda: postmaster_address: [email protected] mail_plugin_dir: /usr/lib/dovecot/modules/lda auth default: passdb: driver: pam userdb: driver: passwd Recently i have made this change in the conf file : mbox_write_locks: fcntl dotlock Thanks ! El 01/10/2010 13:29, Timo Sirainen <[email protected]> escribió:
On Wed, 2010-09-29 at 14:26 +0000, [email protected] wrote:
> Sep 29 08:25:07 host1 dovecot: imap-login: Login: user=,
> method=PLAIN, rip=172.20.22.12, lip=172.20.22.14
> Sep 29 08:25:07 host1 dovecot: IMAP(user): mail_location: mbox:
> mkdir(/home/NT-DOMAIN/user/mail) failed: Permission denied
> (euid=10188(user) egid=10001(domain users) missing +w perm: /home)
> Sep 29 08:25:07 host1 dovecot: IMAP(user): Fatal: Namespace initialization
> failed
>
> Here , i assume the user put his user name in CAPS (USER), and that i
> generating an error. Then Dovecot tries to create the directory
> /home/NT-DOMAIN/user/mail.
So what would have been the correct directory for this user?
If the problem is caps, you can try if auth_username_format=%Lu helps.
If not, send full dovecot -n output.
