Doveadm: Skipping module doveadm_mail_crypt_plugin loading

vkosharskiy at gmail.com vkosharskiy at gmail.com
Fri Nov 10 22:20:45 EET 2017


# dovecot --version  

Doveadm unable to load plugin  bacause plugin doveadm_mail_crypt_plugin.so not compiled with function mail_crypt_box_get_pvt_digests, who defned in mail-crypt-key.c

Fix for these problem:

dovecot_doveadm_mail_crypt_fix.diff:

--- src/plugins/mail-crypt/Makefile.am.old      2017-11-10 19:51:18.155088706 +0200
+++ src/plugins/mail-crypt/Makefile.am  2017-11-10 20:06:30.557814167 +0200
@@ -70,7 +70,8 @@
 libfs_mail_crypt_la_LDFLAGS = -module -avoid-version

 libdoveadm_mail_crypt_plugin_la_SOURCES = \
-       doveadm-mail-crypt.c
+       doveadm-mail-crypt.c \
+       mail-crypt-key.c
 libdoveadm_mail_crypt_plugin_la_LIBADD = $(LIBDOVECOT)
 libdoveadm_mail_crypt_plugin_la_DEPENDENCIES = $(LIBDOVECOT_DEPS)
 libdoveadm_mail_crypt_plugin_la_LDFLAGS = -module -avoid-version


# doveadm -D sis 
_*Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message)

*_

After compile:

# doveadm -D sis 



More information about the dovecot mailing list