Marc
2021-Mar-15 10:49 UTC
archive namespace reports mdbox_deleted: same as mdbox: is that ok?
Hmmm, terribly sorry, I think it is related to that Archive is stored in [@]# doveconf | grep location mail_location = mdbox:~/mdbox:INDEX=/home/popindex/%u/index:CONTROL=~/mail/control location = mdbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archive/control:INDEX=/home/archiveindex/%u/index location> -----Original Message----- > From: Aki Tuomi <aki.tuomi at open-xchange.com> > Sent: 15 March 2021 11:24 > To: Marc <Marc at f1-outsourcing.eu>; dovecot at dovecot.org > Subject: RE: archive namespace reports mdbox_deleted: same as mdbox: is > that ok? > > > > On 15/03/2021 12:12 Marc <marc at f1-outsourcing.eu> wrote: > > > > > > I am not sure if you wanted me to just add another -o, so I did these > 3, but all with same results[1]. > > > > > > > > > > That's because you did it slightly wrong.. > > doveadm -D -o namespace/4archives/location=mdbox_deleted:/home/mail- > archive/testtest/Archive/:CONTROL=/home/mail- > archive/testtest/Archive/control:INDEX=/home/archiveindex/testtest/index > -o testtest 'messages vsize' "Archive/2018" > > Aki
Marc
2021-Mar-15 11:56 UTC
archive namespace reports mdbox_deleted: same as mdbox: is that ok?
Sorry Aki for asking again. I need to run the purge, but I want to make sure some user did not accedentally deleted a large folder. I decided to keep tests limited for now to the main inbox namespace. But also here weird results. Status of folders before the test[1], selected 10 messages from INBOX/test2 and shift+deleted them. Then restarted thunderbird (otherwise thunderbird kept showing 211 messages), INBOX/test2 indeed shows 10 fewer messages, now 201, but no deleted messages found INBOX/test2 and weirdly 1 in INBOX??? (result is the same after a force-resync) If this surpasses public support let me know. [1] [@ testtest]# doveadm -v purge -u testtest [@ testtest]# doveadm -o mail_location=mdbox:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index mailbox status -u testtest 'messages vsize' '*' Sent messages=17 vsize=7473 Drafts messages=6 vsize=91785 INBOX/test2 messages=211 vsize=13443443 Junk messages=2 vsize=1969 Deleted Messages messages=1 vsize=956 Trash messages=47 vsize=769284 INBOX messages=1117 vsize=207623033 [@ testtest]# doveadm -o mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index mailbox status -u testtest 'messages vsize' '*' Sent messages=0 vsize=0 Drafts messages=0 vsize=0 INBOX/test2 messages=0 vsize=0 Junk messages=0 vsize=0 Deleted Messages messages=0 vsize=0 Trash messages=0 vsize=0 INBOX messages=0 vsize=0 [2] [@ testtest]# doveadm -o mail_location=mdbox:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index mailbox status -u testtest 'messages vsize' '*' Sent messages=17 vsize=7473 Drafts messages=5 vsize=3457 INBOX/test2 messages=201 vsize=12806313 Junk messages=2 vsize=1969 Deleted Messages messages=1 vsize=956 Trash messages=47 vsize=769284 INBOX messages=1117 vsize=207623033 [@ testtest]# doveadm -o mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index mailbox status -u testtest 'messages vsize' '*' Sent messages=0 vsize=0 Drafts messages=0 vsize=0 INBOX/test2 messages=0 vsize=0 Junk messages=0 vsize=0 Deleted Messages messages=0 vsize=0 Trash messages=0 vsize=0 INBOX messages=1 vsize=88328 [3] [@]# doveconf | grep mail_location mail_location = mdbox:~/mdbox:INDEX=/home/popindex/%u/index:CONTROL=~/mail/control