RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
> > > step 5. > > > === > > > verify refcount=0 messages in folders, not ok, INBOX/test2 should > have 5 > > > > > > [@ testtest]# doveadm -o > > > > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > > > pindex/testtest/index mailbox status -u testtest 'messages vsize'

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 15:50 Marc wrote: > > > > > > step 5. > > === > > verify refcount=0 messages in folders, not ok, INBOX/test2 should have 5 > > > > [@ testtest]# doveadm -o > > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > > pindex/testtest/index mailbox stat

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
> > step 5. > === > verify refcount=0 messages in folders, not ok, INBOX/test2 should have 5 > > [@ testtest]# doveadm -o > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > pindex/testtest/index mailbox status -u testtest 'messages vsize' '*' > Sent messages=0 vsize=

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
Adding these steps step 6. === check if we have still them message stored, ok as expected [@ testtest]# grep 45765765870 /home/popusers/testtest/mdbox/storage/* /home/popusers/testtest/mdbox/storage/m.893:Subject: New file uploaded 45765765870 step 7. === purge mailbox with [@ testt

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
New test step 1. === initial state inbox and deleted [@ 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=67170 INBOX/test2 messages

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 13:56 Marc wrote: > > > 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

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
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

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
=/home/archiveindex/%u/index location = > -Original Message- > From: Aki Tuomi > Sent: 15 March 2021 11:24 > To: Marc ; dovecot@dovecot.org > Subject: RE: archive namespace reports mdbox_deleted: same as mdbox: is > that ok? > > > > On 15/03/2021 12:12 Mar

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 12:12 Marc 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/Arch

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
I am not sure if you wanted me to just add another -o, so I did these 3, but all with same results[1]. [1] [@ storage]# doveadm -D -o namespace/4archives/location=mdbox_deleted:/home/mail-archive/testtest/mdbox -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/ar

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 11:43 Marc wrote: > > > [@ ~]# doveadm -D -o > mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index > mailbox status -u testtest 'messages vsize' "Archive/2018" > > doveadm(testtest): Debug: Namespace 4archives: type=private,

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
[@ ~]# doveadm -D -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index mailbox status -u testtest 'messages vsize' "Archive/2018" Debug: Loading modules from directory: /usr/lib64/dovecot Debug: Module loaded: /usr/lib64/dovecot/lib15_notify_

Re: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 11:23 Marc wrote: > > > These commands should generate different output not? > > [@ ~]# doveadm -o > mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index > mailbox status -u testtest 'messages vsize' "Archive/2018" > > Archive

archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
These commands should generate different output not? [@ ~]# doveadm -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index mailbox status -u testtest 'messages vsize' "Archive/2018" Archive/2018 messages=70 vsize=6182960 [@ ~]# doveadm -o mai