a594a595488241e2228d40b224d3e123258b9d68 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Preserve messages' vsize record when rebuilding index
Since vsize is often used by quota, losing this can be very expensive.
If the vsize is wrong, it gets fixed automatically when fetching the
message body. |
5eb43c3bb43c559cc54d66504c7b79183d45e803 |
|
17-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Don't reset \Recent flags when rebuilding index
The recent flags are tracked with first_recent_uid in the header. If the
first_recent_uid is valid in the old index, preserve it. This way all
mails don't show as having \Recent flag.
This was used by sdbox and mdbox code. |
1497234a278c8b79ade8dce3b26eb2f417d1c494 |
|
19-Feb-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Index rebuilding (for [sm]dbox) caused it to reset dovecot.index.cache file
Although in some situations this might be wanted, usually it's not needed
and simply makes the performance worse. If caching is explicitly unwanted
the dovecot.index.cache file can be deleted manually for now. Perhaps there
could be a separate doveadm force-resync parameter to do it as well. |