Searching 30 GB mailbox

Aki Tuomi aki.tuomi at
Wed Dec 1 11:22:53 UTC 2021

> On 01/12/2021 13:05 Einar Bjarni Halldórsson <einar at> wrote:
> > Adding it to mail_always_cache_fields does not miraculously make cache updated. Each mail needs to be accessed for that to happen.
> > Ie. With doveadm fetch.
> I couldn't figure out the doveadm fetch syntax for searching so I just 
> ran the search manually twice. I assume that would update the cache?
> > You can inspect the index files with doveadm dump to check what is cached. Not sure how it went with mdbox storage driver.
> According to `man doveadm-dump` it just seems to dump index files. I 
> tried dumping the cache file but it complains that it can't auto detect 
> the file type.
> .einar

doveadm fetch -u username hdr.message-id all


More information about the dovecot mailing list