Problem with Dovecot plugins
Posted: Tue 4. Mar 2025, 23:03
I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)
Server operating system + version
(Debian 12.9 (64-bit))
Server virtualization technology used
(KVM)
KeyHelp version + build number
25.0 (Build 3398)
Problem description / error messages
After every update or restart of Dovecot, the configuration is reset to default, removing the fts_xapian plugin. Attempts to add it via local.conf do not work, as dovecot.conf takes priority. Even when creating custom configuration files like 1-my-config.conf, the settings are still overridden.
Expected result
The fts_xapian plugin should remain enabled after an update or restart of Dovecot, allowing fast email search.
Actual result
The fts_xapian plugin is removed, forcing manual reconfiguration after every update.
Steps to reproduce
The issue occurs because dovecot.conf is overwritten during updates. Attempts to prevent this using local.conf or additional custom config files have failed. A method to permanently retain fts_xapian is needed to avoid manual reconfiguration after each update.
(Problems not related to KeyHelp belong in the Offtopic forum)
Server operating system + version
(Debian 12.9 (64-bit))
Server virtualization technology used
(KVM)
KeyHelp version + build number
25.0 (Build 3398)
Problem description / error messages
After every update or restart of Dovecot, the configuration is reset to default, removing the fts_xapian plugin. Attempts to add it via local.conf do not work, as dovecot.conf takes priority. Even when creating custom configuration files like 1-my-config.conf, the settings are still overridden.
Expected result
The fts_xapian plugin should remain enabled after an update or restart of Dovecot, allowing fast email search.
Actual result
The fts_xapian plugin is removed, forcing manual reconfiguration after every update.
Steps to reproduce
- Edit local.conf to add mail plugins.
Restart Dovecot.
fts_xapian is not enabled.
Manually add fts_xapian to dovecot.conf.
Restart Dovecot, and fts is now enabled.
After an update, the configuration is reset to default, removing all custom plugins.
Custom configuration files (e.g., 1-my-config.conf) do not persist settings.
The issue occurs because dovecot.conf is overwritten during updates. Attempts to prevent this using local.conf or additional custom config files have failed. A method to permanently retain fts_xapian is needed to avoid manual reconfiguration after each update.