Re: Bug in renaming folder hierarchies - any reaction ?
Hi,
no comments on this? This is definitly with two different IMAP Clients reproducible.
This led already to some message loss in user Mailboxes.
we discovered a major problem with renaming folders with subfolders
testszenario:
folders:
test1 test1/test1-1 test1/test1-2
all 3 folders contain a test message
after renaming the top level folder test1 to test2 following folders exist:
test2 test2/test1-1 test2/test1-2
the subfolders test1-1 and test1-2 are empty, the top level folder contains the correct message.
Now renmaing test2 back to test1:
Alle folders again contain their messages.
So this looks like during renaming the top level folder just the message references for the subfolders got lost, and with renaming back they are there again.
I can reproduce this behavior both with thunderbird and Horde Webmail as a client, also it happens with a second different dovecot setup
Sincerly, Klaus Steinberger
Hi,
this might be caused by FULLDIRNAME=DbOx-mAiLs (as far fetched as it sounds). Would it be possible for you to try it out if it happens if you remove this setting?
Aki
On 02/03/2021 21:35 Klaus Steinberger <klaus.steinberger@physik.uni-muenchen.de> wrote:
Hi,
no comments on this? This is definitly with two different IMAP Clients reproducible.
This led already to some message loss in user Mailboxes.
we discovered a major problem with renaming folders with subfolders
testszenario:
folders:
test1 test1/test1-1 test1/test1-2
all 3 folders contain a test message
after renaming the top level folder test1 to test2 following folders exist:
test2 test2/test1-1 test2/test1-2
the subfolders test1-1 and test1-2 are empty, the top level folder contains the correct message.
Now renmaing test2 back to test1:
Alle folders again contain their messages.
So this looks like during renaming the top level folder just the message references for the subfolders got lost, and with renaming back they are there again.
I can reproduce this behavior both with thunderbird and Horde Webmail as a client, also it happens with a second different dovecot setup
Sincerly, Klaus Steinberger
Hi Aki,
this might be caused by FULLDIRNAME=DbOx-mAiLs (as far fetched as it sounds). Would it be possible for you to try it out if it happens if you remove this setting?
I tried it luckily on a small server. Yes it seems to have to do with it, but it destroyed indexes on a active mailboy.
I have to setup a test server.
Sincerly, Klaus
Am 03.03.21 um 12:19 schrieb Aki Tuomi:
Hi,
this might be caused by FULLDIRNAME=DbOx-mAiLs (as far fetched as it sounds). Would it be possible for you to try it out if it happens if you remove this setting?
I found this: https://dovecot.org/pipermail/dovecot/2019-August/116799.html
But when I follow the advice and remove one of the options somethings goes wrong.
Removing FULLDIRNAME -> access to Folder got lost completly
Removing INDEXES -> Folders are there, but empty
What is the correct way to migrate when I change these options?
Sincerly, Klaus
On 04/03/2021 12:50 Klaus Steinberger <klaus.steinberger@physik.uni-muenchen.de> wrote:
Am 03.03.21 um 12:19 schrieb Aki Tuomi:
Hi,
this might be caused by FULLDIRNAME=DbOx-mAiLs (as far fetched as it sounds). Would it be possible for you to try it out if it happens if you remove this setting?
I found this: https://dovecot.org/pipermail/dovecot/2019-August/116799.html
But when I follow the advice and remove one of the options somethings goes wrong.
Removing FULLDIRNAME -> access to Folder got lost completly
Removing INDEXES -> Folders are there, but empty
What is the correct way to migrate when I change these options?
Sincerly, Klaus
Safest way is to do a full migration to new environment. Unsafe option is to do mv DbOx-mAiLs dbox-mails
in both mail storage and mail index directory.
Aki
Hi Aki,
Safest way is to do a full migration to new environment. Unsafe option is to do
mv DbOx-mAiLs dbox-mails
in both mail storage and mail index directory.
any chance that it could be solved in dovecot?
I have an server with 5k users and over 6 TByte messages
Sincerly, Klaus
On 04/03/2021 13:20 Klaus Steinberger <klaus.steinberger@physik.uni-muenchen.de> wrote:
Hi Aki,
Safest way is to do a full migration to new environment. Unsafe option is to do
mv DbOx-mAiLs dbox-mails
in both mail storage and mail index directory.any chance that it could be solved in dovecot?
I have an server with 5k users and over 6 TByte messages
Sincerly, Klaus
That's the migration option. If you change mail location driver or mail location driver configuration, you are looking at migration project. Sorry.
Aki
Hi Aki,
That's the migration option. If you change mail location driver or mail location driver configuration, you are looking at migration project. Sorry.
What I meant is, could the bug be fixed, so that it is save to have bothFULLDIRNAME and INDEXES Option?
Sincerly, Klaus
participants (2)
-
Aki Tuomi
-
Klaus Steinberger