[Dovecot] dovecot refuses to remove folders

Harald Dunkel harald.dunkel at t-online.de
Thu Jan 7 19:54:46 EET 2010


Hi folks,

I've got a problem between Thunderbird 3.0 and Dovecot imapd
version 1.2.9. Configuration:

# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32.2 x86_64 Debian squeeze/sid
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s managesieve
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
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: mail
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_executable(managesieve): /usr/lib/dovecot/managesieve
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
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
namespace:
  type: private
  separator: /
  location: maildir:~/Maildir:LAYOUT=fs
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd


Please note the "LAYOUT=fs" and "seperator: /". AFAICS Dovecot
refuses to remove a folder with '/' inside or at the end.

Sample session (extracted from Thunderbird log file):

5 list "" "Trash/*"
* LIST (\HasChildren) "/" "Trash/"
* LIST (\HasNoChildren) "/" "Trash/subfolder2delete"
5 OK List completed.
6 list "" "Trash/subfolder2delete/*"
* LIST (\HasNoChildren) "/" "Trash/subfolder2delete/"
6 OK List completed.
7 delete "Trash/subfolder2delete/"
7 NO [CANNOT] Invalid mailbox name


I was pretty sure that this is a bug in Thunderbird, so I had
created https://bugzilla.mozilla.org/show_bug.cgi?id=537626 .
Unfortunately the Thunderbird developers are not convinced.

Maybe somebody on this list can comment on this?


Many thanx

Harri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20100107/644adb35/attachment.bin 


More information about the dovecot mailing list