We ran into the same problem on Debian 11 bullseye testing. Please see the attachment for `doveconf -n` output.
## Postfix Log Jul 10 15:33:18 host2 postfix/postfix-script[1219]: warning: symlink leaves directory: /etc/postfix/./makedefs.out Jul 10 15:33:19 host2 postfix/postfix-script[1397]: starting the Postfix mail system Jul 10 15:33:19 host2 postfix/master[1399]: daemon started -- version 3.5.6, configuration /etc/postfix Jul 10 15:39:13 host2 postfix/smtpd[1463]: connect from _gateway[10.42.0.1] Jul 10 15:39:13 host2 postfix/smtpd[1463]: B7B9234631: client=_gateway[10.42.0.1] Jul 10 15:39:13 host2 postfix/cleanup[1533]: B7B9234631: message-id=<20210710153902.003128@debian> Jul 10 15:39:19 host2 postfix/smtpd[1463]: disconnect from _gateway[10.42.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Jul 10 15:39:19 host2 postfix/qmgr[1401]: B7B9234631: from=<nore...@host1.test.example>, size=503, nrcpt=1 (queue active) Jul 10 15:39:20 host2 postfix/lmtp[1535]: B7B9234631: to=<r...@host2.test.example>, orig_to=<postmas...@host2.test.example>, relay=host2.test.example[private/dovecot-lmtp], delay=6.2, delays=6/0.08/0.13/0, dsn=4.4.2, status=deferred (lost connection with host2.test.example[private/dovecot-lmtp] while receiving the initial server greeting) Jul 10 15:42:39 host2 postfix/anvil[1529]: statistics: max connection rate 1/60s for (smtp:10.42.0.1) at Jul 10 15:39:13 Jul 10 15:42:39 host2 postfix/anvil[1529]: statistics: max connection count 1 for (smtp:10.42.0.1) at Jul 10 15:39:13 Jul 10 15:42:39 host2 postfix/anvil[1529]: statistics: max cache size 1 at Jul 10 15:39:13 ## Dovecot Log Jul 10 15:32:53 master: Info: Dovecot v2.3.13 (89f716dc2) starting up for imap, lmtp, sieve, pop3 (core dumps disabled) Jul 10 15:36:20 master: Warning: Killed with signal 15 (by pid=1435 uid=0 code=kill) Jul 10 15:36:22 master: Info: Dovecot v2.3.13 (89f716dc2) starting up for imap, lmtp, sieve, pop3 (core dumps disabled) Jul 10 15:39:13 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Jul 10 15:39:13 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so Jul 10 15:39:13 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Jul 10 15:39:13 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libauthdb_ldap.so Jul 10 15:39:13 auth: Debug: Wrote new auth token secret to /run/dovecot/auth-token-secret.dat Jul 10 15:39:13 auth: Debug: auth client connected (pid=0) Jul 10 15:39:19 lmtp(1536): 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 ## System Information Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye dovecot-core/testing,now 1:2.3.13+dfsg1-1 amd64 [installed,automatic] dovecot-imapd/testing,now 1:2.3.13+dfsg1-1 amd64 [installed] dovecot-ldap/testing,now 1:2.3.13+dfsg1-1 amd64 [installed] dovecot-lmtpd/testing,now 1:2.3.13+dfsg1-1 amd64 [installed] dovecot-managesieved/testing,now 1:2.3.13+dfsg1-1 amd64 [installed] dovecot-pop3d/testing,now 1:2.3.13+dfsg1-1 amd64 [installed] dovecot-sieve/testing,now 1:2.3.13+dfsg1-1 amd64 [installed,automatic] ## doveconf -n # 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.13 (cdd19fe3) # OS: Linux 4.19.0-16-amd64 x86_64 Debian 11.0 # Hostname: freedombox auth_debug = yes auth_verbose = yes log_path = /var/log/fbx-dovecot.log mail_debug = yes mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_plugins = " imap_sieve" mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/freedombox-ldap-passdb.conf.ext driver = ldap result_failure = return-fail result_internalfail = return-fail } passdb { driver = pam } plugin { sieve = file:~/sieve;active=~/.dovecot.sieve } protocols = " imap lmtp sieve pop3" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0600 user = postfix } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } } ssl_cert = </etc/dovecot/private/dovecot.pem ssl_client_ca_dir = /etc/ssl/certs ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { args = /etc/dovecot/freedombox-ldap-userdb-aliases.conf.ext driver = ldap result_internalfail = return-fail } userdb { args = /etc/dovecot/freedombox-ldap-userdb.conf.ext driver = ldap result_failure = return-fail result_internalfail = return-fail } userdb { driver = passwd } verbose_ssl = yes