3
1
By setting the variables header_cache
and message_cachedir
, you can make neomutt cache messages headers and even the message bodies. This allows way quicker searching among other benefits.
The problem is though, that this caching does not seem to happen automatically. I'd have to go though each mailbox and search for a body term that does not exist - it then would download all the messages.
Is there a way of forcing neomutt to build this cache, either one off or, preferred, continually?
Just to be safe. You created the folders the variables point to? – ploth – 2018-12-05T19:16:02.663
Your mutt version 1.5.7 or later? – ploth – 2018-12-05T19:20:56.357
Don't specify a cache file! Only specify a folder. It can be the same folder for both variables. – ploth – 2018-12-05T19:22:44.980
Thank you. Well, the cache works. But I haven't found any way to force building the cache without entering a mailbox and searching in it. What I would like is a command that I can execute (i.e. over night) and have all mailboxes cached. – Remo – 2018-12-10T12:56:18.710