Apache Solr Setup in cPanel
In cPanel & WHM version 64, we introduced IMAP Full-Text Search Indexing (powered by Solr), which provides fast search capabilities for Internet Message Access Protocol (IMAP) mailboxes. This significantly improves the speed and convenience of the search experience for iOS device, Microsoft Outlook®, SquirrelMail, Horde, Roundcube, and Mozilla Thunderbird users.
We can enable this feature via the WHM’s Manage Plugins interface.
How to enable Solr feature in WHM
1) Log in to WHM
2) Search for ‘Manage Plugins’ in the search bar.
The Manage Plugins interface allows you to add and remove plugins. Plugins provide additional functionality for your server. The plugins that this interface lists vary from server to server.
3) To Install a Solr plugin, click install and Keep Updated checkbox for the plugin that you wish to install.
4) Click on the ‘Save’ bouton.
5) To uninstall a plugin, click Uninstall next to the plugin that you wish to uninstall.
We can enable this feature via the scripts also. Please check the following details.
The install_dovecot_fts Script
To enables Internet Message Access Protocol (IMAP) Full-Text Search (FTS) Indexing (powered by Solr), which provides fast search capabilities for IMAP mailboxes, we use the /usr/local/cpanel/scripts/install_dovecot_fts script. FTS significantly improves the speed and convenience of the search experience for iOS device, Microsoft Outlook®, SquirrelMail, Horde, Roundcube, and Mozilla Thunderbird users.
The /usr/local/cpanel/scripts/install_dovecot_fts script
If you want to use this script, you need to run the following command as the root user:
The /usr/local/cpanel/scripts/install_dovecot_fts script does not accept arguments.
When the script successfully completes, you will receive a message similar to the following:
To uninstall the Dovecot FTS indexing, run the following command:
If you need any further help please do reach our support department at [email protected]