Slow E-mail searching in Roundcube

Post Reply
cyadron
Posts: 15
Joined: Thu May 20, 2021 8:38 am

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?

Tags:
Milani
Posts: 1
Joined: Wed Sep 17, 2025 2:44 pm

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.
User avatar
myVesta
Site Admin
Posts: 973
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

Post Reply