On Tue, 5 Dec 2017 11:53:45 +0000 Stroller <strol...@stellar.eclipse.co.uk> wrote:
> The wiki says: > > > Each mailbox has its own separate index files. **If the index files > > are disabled**, the same structures are still kept in the memory, > > except cache file is disabled completely (because the client > > probably won't fetch the same data twice within a connection). [1] > > I tend to grep my maildirs quite often, and use the output to cp > emails to other folders, so it's annoying when the > dovecot.index.cache files show up in the results. > > How do I disable the index files, please? > > My mail server is hardly loaded, so I don't think it'll be a problem > to keep the caching in memory. > > I can find `mailbox_list_index = no` > in /etc/dovecot/conf.d/10-mail.conf but this seems to be enabled by > default, and it makes no difference when I enable it explicitly - > deleted dovecot.index.cache are recreated when Dovecot is restarted. > The setting `mbox_min_index_size` tends to suggests it's only for > mbox files, not maildirs? > > Thanks in advance for any help you can offer, hint: try server side search with your imap client. for me it beats grep easily. Personally I just use the clucene based FTS and it searches even mailboxes with 300-500k mails within single digit seconds. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org