MailDir and IMAP search speed

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply
User avatar
Dravion
Senior user
Senior user
Posts: 1611
Joined: 2015-09-26 11:50
Location: Germany
Contact:

MailDir and IMAP search speed

Post by Dravion » 2015-10-10 14:37

I as reading a technical article about pro and cons saving any email relared data inside an sql database http://www.memoryhole.net/~kyle/databaseemail.html

Summary:
I know hms stores only the email header and the user data inside the sql database
(good design decision regarding this article) but we should inspect the IMAP search command if it can be improved. As mentined in the article. A "grep" like design is fast implemented but poor in terms of search speed on thousands of messages.

Hmm, in martins roadmap poll (here at the forum) more speed was the highestvoted featurerequest.Maybe we should evaluate if we can fine tune our imap search routine in some ways.

Post Reply