Solr full text search for Dovecot

Index all emails!Dovecot is great POP3/IMAP mail server but its internal search mechanism falls short when dealing with large mailboxes. Search is not only super slow, but also extremely resource intensive on both CPU and disk IO front.

Offloading mail indexing and search to Apache Solr is not only recommended, but a must in such scenarios.

In this tutorial, I'll cover Apache Solr 7.5.0 installation and integration with Dovecot 2.2. I won't go into Dovecot installation and configuration details.