imap_sieve plugin stripped from mail_plugins array when using custom Dovecot configurations #4734
Replies: 1 comment 1 reply
docker-mailserver/target/scripts/startup/setup.d/dovecot.sh Lines 100 to 115 in c8ef5b9 Always enabled appears to be regarding docker-mailserver/target/dovecot/20-lmtp.conf Lines 16 to 19 in c8ef5b9 While the docker-mailserver/target/dovecot/20-imap.conf Lines 1 to 4 in c8ef5b9 Which we do modify to also get docker-mailserver/target/scripts/startup/setup.d/dovecot.sh Lines 41 to 48 in c8ef5b9 With Rspamd in play too, there appears to be another related modification for some reason: docker-mailserver/target/scripts/startup/setup.d/security/rspamd.sh Lines 225 to 227 in c8ef5b9 So the existing implementation via our scripts probably needs some love to address the TODO comments. However since we're switching over to Dovecot 2.4 (once I or someone else manages to have time to contribute a proper review confidently of the upgrade PR for that), there isn't much point to taking a PR addressing these concerns until that upgrade is handled.
IIRC Dovecot 2.3 has a global Here's the global docker-mailserver/target/dovecot/10-mail.conf Lines 207 to 209 in c8ef5b9 Each protocol variant will use the variable reference to the same setting to only insert that global base setting, while providing your own override block for a protocol will replace any existing earlier equivalent AFAIK, hence in this case the loss of In Dovecot 2.4, each individual plugin becomes a bool toggle with it's own dedicated setting and can be referenced via a namespace instead of how it is with 2.3 where you have a list of values assigned as a single setting. |
Uh oh!
There was an error while loading. Please reload this page.
I am running Docker Mailserver latest stable, with
My goal is to have full-text search indexing (fts_xapian) and automated Rspamd learning via Junk folder movements (imap_sieve) active at the same time.
While my custom header caching and Xapian search parameters are loading correctly, Dovecot completely drops the imap_sieve plugin from the IMAP protocol loop, making manual spam/ham folder training impossible. Messages learned counter stays frozen (stuck at 6).
I attempted to declare the plugin mapping using custom numeric 10/13/99.conf override chains inside the conf.d path as I do for zlib and fts_xapian:
but after I restart/recreate the container, I never get the plugin loaded:
Am I doing smth wrong? Or did I not read the wiki properly ?
All reactions