Alternate Storage altmove not working bug

Daniel van Ham Colchete daniel.colchete at gmail.com
Fri May 15 12:27:52 UTC 2015


9 hours for a fix and a release! Wow! That's really fast! Thank you very
much!

On Fri, May 15, 2015 at 5:17 AM, Timo Sirainen <tss at iki.fi> wrote:

> On 15 May 2015, at 02:50, Daniel van Ham Colchete <
> daniel.colchete at gmail.com> wrote:
> >
> > Hello everyone!
> >
> > I would like to report a bug here. We are using dovecot's sdbox with
> > alternate storage here. From time to time my SSD partition gets full and
> I
> > always find users with lots of e-mails stuck there, and altmove just
> won't
> > move them. It moves most of the e-mails correctly, but a few was getting
> > stuck everyday.
> >
> > So, I think I have found the problem! When a user moves the message from
> > one mailbox to another, the move will keep all the flags!
> > Including MAIL_INDEX_MAIL_FLAG_BACKEND 0x40. So, altmove think this
> message
> > was already moved and doesn't do anything.
>
> Thanks, fixed: http://hg.dovecot.org/dovecot-2.2/rev/9ad3f11617f1
>
> > Just one last question: how can I remove that flag from the message? I
> have
> > taken a look at doveadm-flags(1) but it doesn't seem to allow anything on
> > that flag.
>
> You can use doveadm altmove -r parameter to "move" the mail back to the
> primary storage. This fixes the flag. Then you can move it to alt storage.
>


More information about the dovecot mailing list