Searching 30 GB mailbox

Peter pch at
Fri Dec 3 21:37:34 UTC 2021

Am 03.12.21 um 13:34 schrieb Einar Bjarni Halldórsson:
>> Why are you still going through Dovecot for this ?
>> @ 4.5 million messages you could just reprogram your app to search 
>> solr directly, it will return the uid of the message and you can use 
>> that directly in imap uid fetch.

> That is a good idea. If this becomes a showstopper, that's one way we 
> could solve this.

Below link to a javascript "app", that does it this way. When dovecot 
caches are warm, it is very quick. That on a not so big a number of 
mails, but still quite impressive :)


More information about the dovecot mailing list