Symptoms

After updating to cPanel version 132, you find that Dovecot is down and logging the following:

doveconf: Fatal: Error in configuration file /etc/dovecot/fts.conf line 2: Unknown section name: plugin

 

Cause

On installations of dovecot-solr when Dovecot 2.4 is in use, the fts.conf provided by this file can be malformed and invalid for the syntax required for Dovecot 2.4.

 

Resolution

A fix for CPANEL-50576 has been released to address the issue with the fts.conf file:

Changelog | cPanel Dovecot Solr

No action should be needed, but if you are still seeing this issue, please follow these steps:

The format of the fts.conf file needs to be corrected. The invalid format follows the value below, where the USERNAME and PASSWORD sections are unique to each dovecot-solr install:

plugin {
  fts = solr
  fts_solr = url=http://USERNAME:[email protected]:8984/solr/dovecot/
}

This should be modified to match the following format:

 fts solr {
  url=http://USERNAME:[email protected]:8984/solr/dovecot/
}

Once this is done, both Dovecot and Dovecot solr will begin to function normally.