Page 1 of 1

Slow E-mail searching in Roundcube

Posted: Fri Jul 25, 2025 9:40 am
by cyadron
Hi!

In one of the e-mail accounts I have around 60.000 emails.
Whenever I use the search function in Roundcube, it takes around 1 minute for each search.
From what I understand this is not a Roundcube problem, but it is actually related to Dovecot.
I know that this can be improved by installing Dovecot Full Text Search through the fts-dovecot plug-in.
But this requires upgrading the Dovecot version.
@myVesta could you please find some time to check this?

Re: Slow E-mail searching in Roundcube

Posted: Wed Sep 17, 2025 2:48 pm
by Milani
Slow Roundcube searches are due to Dovecot scanning emails linearly. To fix this:

Enable Dovecot Full-Text Search (FTS) with fts-dovecot plugin (requires upgrading Dovecot).

Use backends like fts-sqlite or fts-lucene for faster indexing.

Optional: limit searches to headers or enable Roundcube caching.

FTS will reduce search times from minutes to seconds.

Re: Slow E-mail searching in Roundcube

Posted: Wed Sep 17, 2025 4:22 pm
by myVesta

Re: Slow E-mail searching in Roundcube

Posted: Wed Nov 12, 2025 5:23 am
by cyadron
myVesta wrote: Wed Sep 17, 2025 4:22 pm See tutorial - viewtopic.php?f=16&t=1106
Thank you for the tutorial!
After applying it, e-mail search is now instant.