Hello,
after I have done a dist-upgrade to Squeeze, I got some nasty problem with my dovecot. When I try to establish a connection via IMAP, it doesn't react and writes the following into my logfile:
2011-02-16 15:23:49 imap-login: Info: Login: user=thomas@XXX, method=PLAIN, rip=84.130.16.134, lip=XX.XXX.XX.XXX, TLS 2011-02-16 14:23:49 dovecot: Fatal: chdir(/home/vmail/XXX/thomas/) failed: Permission denied (euid=5000(<unknown>) egid=5000(<unknown>) stat() failed: No such file or directory) 2011-02-16 15:23:49 dovecot: Error: child 14493 (imap) returned error 89 (Fatal failure)
dovecot -n: # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-xen-amd64 x86_64 Debian 6.0 ext3 log_path: /home/vmail/dovecot-info.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s ssl_ca_file: /etc/ssl/certs/sub.class1.server.ca.pem login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: vmail mail_uid: vmail mail_gid: vmail mail_location: maildir:/home/vmail/%d/%n/ mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes lda: log_path: /home/vmail/dovecot-deliver.log postmaster_address: postmaster@XXX auth_socket_path: /var/run/dovecot/auth-master global_script_path: /home/vmail/globalsieverc auth default: mechanisms: plain login passdb: driver: pam passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: static args: uid=vmail gid=vmail home=/home/vmail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail
I tried to change privileges for /home/vmail/, didn't work. What makes me wonder is the <unknown>-label after euid=5000. Anyone an idea how to fix that problem?
Thomas