3 Dec
2021
3 Dec
'21
11:37 p.m.
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 :)
https://gist.github.com/hungerburg/00d582bf1a6bf3c622797bf5e759f75b
-- peter