[Dovecot] dovecot 2.0rc2 [SERVERBUG] When trying to remove a folder which contains a subfolder

Sven Kirmess sven.kirmess at kzone.ch
Sun Jul 18 00:03:59 EEST 2010


I'm going to risk to report something stupid again and waste
resources... but [SERVERBUG] sounds like it should not happen. :)

g create test
g OK Create completed.
h create test/test2
h OK Create completed.
i list "test" "*"
* LIST (\HasChildren) "/" "test"
* LIST (\HasNoChildren) "/" "test/test2"
i OK List completed.
j delete "test"
j NO [SERVERBUG] Internal error occurred. Refer to server log for more
information. [2010-07-17 22:57:48]

The log has the following entry:
Jul 17 22:57:48 azati dovecot: [ID 583609 mail.error] imap(ski):
Error: rmdir(/l/dovecot/ski/dbox/mailboxes/test) failed: File exists

Which is correct
$ ls /l/dovecot/ski/dbox/mailboxes/test/
test2

Deleting the mailboxes in sync does work.

k delete "test/test2"
k OK Delete completed.
l delete "test"
l OK Delete completed.
m list "test" "*"
m OK List completed.


$ dovecot -n
# 2.0.rc2: /etc/opt/dovecot/dovecot/dovecot.conf
# OS: SunOS 5.10 i86pc  zfs
first_valid_uid = 100
mail_location = mdbox:/l/dovecot/%u/dbox
passdb {
  driver = pam
}
protocols = imap
service imap-login {
  inet_listener imap {
    port = 0
  }
}
service imap {
  vsz_limit = 1073741824
}
ssl = required
ssl_cert = </etc/opt/dovecot/dovecot/certs/dovecot.pem
ssl_key = </etc/opt/dovecot/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
verbose_proctitle = yes
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
}


More information about the dovecot mailing list