Re: doveadm mailbox delete not working

2018-08-15 Thread Aki Tuomi
Actually you are using separator /, so making folder INBOX/[Test / Test] => "INBOX" sep "[Test " sep " Test]" but it will not create "INBOX/[ Test " (it will be noselect folder, parent for "INBOX/[Test / Test]") and thus will be deleted once you delete INBOX/[Test / Test] "doveadm(testuser1

Re: doveadm mailbox delete not working

2018-08-15 Thread Ralf Becker
One more update, I tried renaming that "[Test " folder to just "Test", which creates an also not deletable folder "Test". Good news is, if I delete these folders on both replication nodes from mdbox/mailboxes and mdbox/subscriptions they seem to be really gone. I can event create the folder "Test"

Re: doveadm mailbox delete not working

2018-08-15 Thread Ralf Becker
I found a way to reproduce the problem :) Use an arbitrary mailbox (maybe my Dovecot config with mdbox etc. required). Then use Thunderbird (52.9.1 on Mac) to create eg. the following folder (without the quotes!):     "[Test / Test]" This is a space, a slash and a space between the Test in squar

Re: doveadm mailbox delete not working

2018-08-15 Thread Ralf Becker
Hi Steffen, Am 15.08.18 um 15:58 schrieb Steffen Kaiser: > On Tue, 14 Aug 2018, Ralf Becker wrote: > > > Date: Tue, 14 Aug 2018 15:13:12 +0200 > > From: Ralf Becker > > To: dovecot@dovecot.org > > Subject: doveadm mailbox delete not working > > > I have a user who has several folders in his mailb

Re: doveadm mailbox delete not working

2018-08-15 Thread Steffen Kaiser
-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 To: dovecot@dovecot.org Subject: doveadm mailbox delete not working I have a user who has several folders in his mailbox, which we can not delete, neit

Re: doveadm mailbox delete not working

2018-08-15 Thread Ralf Becker
Hi Sami, Am 15.08.18 um 11:29 schrieb Sami Ketola: > > >> On 15 Aug 2018, at 9.29, Ralf Becker > > wrote: >> >> Am 14.08.18 um 18:51 schrieb Aki Tuomi: >>> Try  >>> >>> doveadm mailbox list -u user INBOX/* >> >> Hmm, posted that before, it lists all these undeletable ma

Re: doveadm mailbox delete not working

2018-08-15 Thread Ralf Becker
Hi Aki, Am 15.08.18 um 11:31 schrieb Aki Tuomi: > Such fun folders. Can you try doveadm -Dv mailbox delete -u username > folder and post it to the list? root@ka-nfs-mail:~# doveadm -Dv mailbox delete -u 'INBOX/Fachbereiche ' Debug: Loading modules from directory: /usr/lib/dovecot Debug: Module l

Re: doveadm mailbox delete not working

2018-08-15 Thread Sami Ketola
> On 15 Aug 2018, at 9.29, Ralf Becker wrote: > > Am 14.08.18 um 18:51 schrieb Aki Tuomi: >> Try >> >> doveadm mailbox list -u user INBOX/* > > Hmm, posted that before, it lists all these undeletable mailboxes: Can you also post your doveconf -n to be sure that the folder is just not auto

Re: doveadm mailbox delete not working

2018-08-14 Thread Aki Tuomi
Can you try doveadm -fjson mailbox list -u user INBOX/* Aki On 15.08.2018 09:29, Ralf Becker wrote: > Am 14.08.18 um 18:51 schrieb Aki Tuomi: >> Try >> >> doveadm mailbox list -u user INBOX/* > Hmm, posted that before, it lists all these undeletable mailboxes: > > root@ka-nfs-mail:~# doveadm ma

Re: doveadm mailbox delete not working

2018-08-14 Thread Ralf Becker
Am 14.08.18 um 18:51 schrieb Aki Tuomi: > Try > > doveadm mailbox list -u user INBOX/* Hmm, posted that before, it lists all these undeletable mailboxes: root@ka-nfs-mail:~# doveadm mailbox list  -u 'INBOX/*' | grep hbereich INBOX/[Fachbereiche INBOX/Fachbereiche INBOX/hbereiche INBOX/hbereiche

Re: doveadm mailbox delete not working

2018-08-14 Thread Aki Tuomi
Try doveadm mailbox list -u user INBOX/* Aki > On 14 August 2018 at 19:20 Ralf Becker wrote: > > > Hi Aki, > > Am 14.08.18 um 16:42 schrieb Aki Tuomi: > > Hi, > > > > the thing I'm actually looking for is that whether the sync causes the > > folder to be restored, so it might be a better i

Re: doveadm mailbox delete not working

2018-08-14 Thread Ralf Becker
Hi Aki, Am 14.08.18 um 16:42 schrieb Aki Tuomi: > Hi, > > the thing I'm actually looking for is that whether the sync causes the folder > to be restored, so it might be a better idea for you to try and spot this > from the logs. I assume that as an SP that you are using mail_log plugin, so > th

Re: doveadm mailbox delete not working

2018-08-14 Thread Aki Tuomi
Hi, the thing I'm actually looking for is that whether the sync causes the folder to be restored, so it might be a better idea for you to try and spot this from the logs. I assume that as an SP that you are using mail_log plugin, so that might be useful to spot if this happens. You can also try

Re: doveadm mailbox delete not working

2018-08-14 Thread Ralf Becker
Hi Aki, thanks for looking into this :) Am 14.08.18 um 15:15 schrieb Aki Tuomi: > can you turn on mail_debug=yes and run doveadm -Dv mailbox delete and > provide output and logs from both servers? root@ka-nfs-mail:~# doveadm -Dv mailbox delete  -u h 'INBOX/Fachbereiche ' Debug: Loading modules fr

Re: doveadm mailbox delete not working

2018-08-14 Thread Aki Tuomi
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 Date: 14/08/2018 16:13 (GMT+02:00) To: dovecot@dovecot.org Subject: doveadm mailbox delete not working