Streaming MOVE commands
Timo Sirainen
tss at iki.fi
Sun Feb 21 01:45:48 UTC 2016
On 14 Feb 2016, at 06:17, Emilio Jesús Gallego Arias <gallego at cri.ensmp.fr> wrote:
>
> Dear Dovecot devs,
>
> is streaming multiple MOVE commands by clients allowed?
>
> I am getting duplicated messages with the GNUS mail client, the
> interchange looks like this:
>
> *stream two moves to different folders*
>> 9019 UID MOVE 4062,4066,4068 "folder0"
>> 9020 UID MOVE 4063:4064,4067,4069:4072 "folder1"
> *the messages are copied*
>> * OK [COPYUID 1424475218 4062,4066,4068 376:378] Moved UIDs.
>> * OK [COPYUID 1424475231 4063:4064,4067,4069:4072 26:32] Moved UIDs.
> *however expunge fails to clean 4063, 4064, and 4067*
>> * VANISHED 4062,4066,4068:4072
>
> thus 4063, 4064, and 4067 end both in inbox and folder1 producing
> duplicate messages (more details at [1]).
>
> At the GNUS mailing list, we were wondering about what should be the
> correct reading of RFC6851.
Thanks, looks like this was broken with Maildir and mbox formats. It also caused expunges in some other situations to be lost. Fixed:
https://github.com/dovecot/core/commit/950a6e61d6c2dac961ce031bdd8b2895bc32b827
More information about the dovecot
mailing list