Summary: | net-mail/dovecot-2.3.19.1-r1: sieve plugin has missing symbols | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jocelyn Mayer <l_indien> |
Component: | Current packages | Assignee: | Eray Aslan <eras> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ideal.wheel3343, l_indien |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output from emerge --info =net-mail/dovecot-2.3.19.1-r1
Patch to dovecot sieve plugin build system to link it against libdovecot-lda Patch proposal to dovecot ebuild to apply dovecot sieve plugin patch |
Description
Jocelyn Mayer
2022-10-24 12:37:03 UTC
Created attachment 825179 [details]
output from emerge --info =net-mail/dovecot-2.3.19.1-r1
Created attachment 825181 [details, diff]
Patch to dovecot sieve plugin build system to link it against libdovecot-lda
Linking sieve plugin library against libdovecot-lda library fixes the issue
Created attachment 825183 [details, diff]
Patch proposal to dovecot ebuild to apply dovecot sieve plugin patch
This is NOT a Gentoo specific bug and probably shouldn't be considered a bug by upstream. The upstream troubleshooting documentation might need to be improved. Confirmed similar behavior on Debian and Alpine Linux. This a configuration mistake The dovecot wiki guide on enabling sieve instructs the user to enable it for LDA or LMTP using: Correct Configuration. --- protocol lmtp { mail_plugins = $mail_plugins sieve postmaster_address = postmaster@example.com } --- and , or --- protocol lda { mail_plugins = $mail_plugins sieve postmaster_address = postmaster@example.com } --- https://doc.dovecot.org/2.3/configuration_manual/sieve/configuration/#basic-configuration If you make a mistake and load the sieve plugin for protocol sieve, then the clients get an internal error occurred message when connecting to the manage sieve service. The error looks like this (shortened). You get similar messages and the same behavior in the above distributions . Tested using claws-mail managesieve(test@mail.lan): Error: Couldn't load required plugin /usr/lib64/dovecot/lib90_sieve_plugin.so: dlopen() failed: /usr/lib64/dovecot/lib90_sieve_plugin.so: u Incorrect configuration. Note protocol --- protocol sieve { mail_plugins = $mail_plugins sieve } --- According to the Dovecot wiki mail_plugins is currently useless for protocol sieve. There is also a warning against loading IMAP plugins. https://doc.dovecot.org/2.3/configuration_manual/sieve/managesieve/configuration/#sieve-managesieve-configuration |