[Dovecot] Maildir delete folder error
I'm getting errors when I try to delete a maildir folder.
Dovecot versions 1.0.10, 1.0.13, 1.1.rc1, 1.1,rc3 Error received: "dovecot: Mar 15 15:20:29 Error: IMAP(test@mydomain.com): unlink_directory(/home/mail/mydomain.com/test/..DOVECOT-TRASHED) failed: Permission denied"
dovecot -n: "# 1.1.rc3: /etc/dovecot/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot.info protocols: imap pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: Dovecot DA ready. verbose_proctitle: yes first_valid_uid: 100 mail_location: maildir:/home/mail/%d/%n mail_debug: yes mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 auth default: mechanisms: plain digest-md5 verbose: yes debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: prefetch socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix "
dovecot-sql.conf: "password_query = SELECT email as user, crypt as password, homedir as userdb_home, uid as userdb_uid, gid as userdb_gid FROM postfix_users WHERE email = '%u'"
Directory owners / perms: /home/mail: mail mail 0710 /home/mail/mydomain.com: mydomain mail 0710 /home/mail/mydomain.com/test/ and all contents: mydomain mail, dirs 0700, files 0600
Tried all kinds of things, problem got me stuck for weeks. doesn't want to remove directory. Any help would be appreciated.
Greetings, Peter
On Sat, 2008-03-15 at 16:09 +0100, Peter Tambach wrote:
I'm getting errors when I try to delete a maildir folder.
Dovecot versions 1.0.10, 1.0.13, 1.1.rc1, 1.1,rc3 Error received: "dovecot: Mar 15 15:20:29 Error: IMAP(test@mydomain.com): unlink_directory(/home/mail/mydomain.com/test/..DOVECOT-TRASHED) failed: Permission denied"
Can you create new mailboxes? Can you delete that directory manually? As it says, it can't do it because kernel gives "permission denied". It could be that it contains a directory where the user doesn't have write permissions.
participants (2)
-
Peter Tambach
-
Timo Sirainen