doveadm mailbox delete not working

Aki Tuomi aki.tuomi at dovecot.fi
Tue Aug 14 16:15:23 EEST 2018


can you turn on mail_debug=yes and run doveadm -Dv mailbox delete and provide output and logs from both servers?


---Aki TuomiDovecot oy
-------- Original message --------From: Ralf Becker <rb at egroupware.org> Date: 14/08/2018  16:13  (GMT+02:00) To: dovecot at dovecot.org Subject: doveadm mailbox delete not working 
I have a user who has several folders in his mailbox, which we can not
delete, neither via IMAP nor via doveadm:

root at ka-nfs-mail:~# doveadm mailbox list -u <username> | grep hbereiche
| cat -v
INBOX/[Fachbereiche ^M
INBOX/Fachbereiche ^M
INBOX/hbereiche^M
INBOX/hbereiche/LAGen]^M
INBOX/hbereiche/LAG^M
INBOX/[Fachbereiche^M
INBOX/[Fachbereiche/LAGen]^M
INBOX/[Fachbereiche]^M
INBOX/[Fachbereiche]/LAGen]^M
INBOX/[Fachbereiche]/LAGe^M
root at ka-nfs-mail:~# doveadm mailbox delete  -u <username>
'INBOX/Fachbereiche '
doveadm(<username>): Info: Mailbox deleted: INBOX/Fachbereiche
root at ka-nfs-mail:~# doveadm mailbox list -u <username>| grep hbereiche |
cat -v
INBOX/[Fachbereiche ^M
INBOX/Fachbereiche ^M
INBOX/hbereiche^M
INBOX/hbereiche/LAGen]^M
INBOX/hbereiche/LAG^M
INBOX/[Fachbereiche^M
INBOX/[Fachbereiche/LAGen]^M
INBOX/[Fachbereiche]^M
INBOX/[Fachbereiche]/LAGen]^M
INBOX/[Fachbereiche]/LAGe^M

As far as I tried none of these folders can be deleted (I added single
quotes for trailing space and tried to delete subfolders first).

Mailbox is in mdbox format on a replication pair under Dovecot 2.2.36
and I tried both nodes of the replication with same result.

Any ideas?

Ralf

-- 
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180814/dae8dbf4/attachment.html>


More information about the dovecot mailing list