#882276 dovecot-sieve: debian stretch reporting errors with lib95_imap_sieve_plugin.so dovecot undefined symbol

Package:
dovecot-sieve
Source:
dovecot
Description:
secure POP3/IMAP server - Sieve filters support
Submitter:
Lance Zeligman
Date:
2021-07-10 16:03:03 UTC
Severity:
normal
Tags:
#882276#5
Date:
2017-11-21 00:10:42 UTC
From:
To:
Dear Maintainer,


I have recently installed dovecot-sieve and dovecot-managesieved on a
fresh installation of debian 9 only to find that dovecot-sieve is
causing some issues with imap.

 From what I'm seeing, I'm unable to recieve email and when I go to
check the dovecot logs location with doveadm I see this error:


doveadm log find
Fatal: Couldn't load required plugin
/usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so: dlopen() failed:
/usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so: undefined symbol:
command_hook_register

is this an issue you're aware of? If so, do you have a fix already for
it? Please let me know if there is anything else I can do to assist you
in solving this if it's not already a known issue.

#882276#10
Date:
2017-11-22 22:03:45 UTC
From:
To:
I've tested in Debian testing (Buster) and found that the issue is also
present there as well.

#882276#15
Date:
2017-11-23 09:42:53 UTC
From:
To:
Hi,

Thanks for the report!

command_hook_register is defined in the imap processes only. I suspect
you have enabled the imap-sieve plugin globally throughout dovecot, and
not only for the imap protocol. Note that there are two sieve plugins:
the imap-sieve plugin provides the ability to run sieve scripts on IMAP
actions and the regular sieve plugin runs sieve scripts on regular mail
delivery.

Could you please attach the output of doveconf -n?

Regards,
Apollon

#882276#22
Date:
2021-07-10 15:56:14 UTC
From:
To:
We ran into the same problem on Debian 11 bullseye testing. Please see the attachment for `doveconf -n` output.