On Thu, 2009-02-26 at 21:56 +0100, Pascal Mouret wrote:
See if setting mbox_lazy_writes=no helps.
That's it !!! I changed the line and it did the trick !! (To be more accurate, on my debian box, I had then to issue a /etc/init.d/dovecot restart. A simple /etc/init.d/dovecot force-reload was not enough) Thank you very much So it may be a problem when the flags are copied from the index file onto the main mbox file, right ?
Something like that. Strange that other people haven't complained about it being broken. Anyway v1.1 has fixed this already.
Is there a performance penalty of setting mbox_lazy_writes to no by the way ?
Yes.
Now, on a busy server, with a lot of flag changes (or rather a lot of flag additions), would that make a noticeable difference ?
No idea. It does make Dovecot do more work.