doveadm mailbox delete not working

Steffen Kaiser skdovecot at inf.h-brs.de
Wed Aug 15 16:58:05 EEST 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 14 Aug 2018, Ralf Becker wrote:

> Date: Tue, 14 Aug 2018 15:13:12 +0200
> From: Ralf Becker <rb at egroupware.org>
> 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

> Any ideas?

I haven't seen this idea and you've wrote nothing about the ^M:

The ^M means that there is a "\015" / \r at the end of the output. Where 
does this char come from? In "normal" output, this char is almost 
invisible, esp. at the end of a line. I don't know how Dovecot handles 
this char internally.

The char should show up in the JSON formatted list, Aki suggested, too:

doveadm -fjson mailbox list -u user INBOX/*

But I haven't seen the output in your replies.

Can you verify in the filesystem, if the char is there, too? E.g.
ls -1 | cat -v

Maybe

doveadm mailbox delete  -u <username> 'INBOX/Fachbereiche '"\015" Would 
help?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBW3QxbcQnQQNheMxiAQJ1vggAmYnlV4xnMJmec34RnpkQpHlz+NK+JnPY
JYB3HsI4RwShJwFp7kDpa8GQDub4Hml249v2Hy2TAd270j7QYJn258vyLMJjrIzy
Gi82Q/M65mF6seYtOXsR6sl9qqXcEZaVPsSUmHTpP+JfNEGye1RCfuqoaoV0pSuu
Kdv8naUDtdTvXVqJfe3McPRbx/+PZouMGLk1AuH3ol0fM+K4SMM65eZDp4VlbZvb
ZBklQleH7K8bz2p1rV6yhsJ/1KooS/QgaGz4Ejfm5U2FVFb2dpuAkVFNMu1LpJP9
gD9Y5cH6CbuPYlp2t/8xrozIUpZ/q7CBfdRZVdm3DsaiEnRtq4g4Lg==
=OaBM
-----END PGP SIGNATURE-----


More information about the dovecot mailing list