[Dovecot] dovecot 2.0 rc4, doveadm: referenced symbol not found
Hi,
I used
/usr/dovecot-2/bin/doveadm -Dv expunge -u userx mailbox AutoCleanSpam savedbefore 30d
doveadm(root): Debug: Loading modules from directory: /usr/dovecot-2/lib/dovecot/doveadm doveadm(root): Error: dlopen(/usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so) failed: ld.so.1: doveadm: fatal: relocation error: file /usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: symbol expire_set_init: referenced symbol not found
doveadm(root): Error: dlopen(/usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so) failed: ld.so.1: doveadm: fatal: relocation error: file /usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: symbol quota_user_module: referenced symbol not found
However old mails have been deleted.
-- regards - Burckhard Schmidt
On Fri, 2010-08-06 at 16:52 +0200, Burckhard Schmidt wrote:
/usr/dovecot-2/bin/doveadm -Dv expunge -u userx mailbox AutoCleanSpam savedbefore 30d
You enabled debug output with -D.
doveadm(root): Debug: Loading modules from directory: /usr/dovecot-2/lib/dovecot/doveadm doveadm(root): Error: dlopen(/usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so) failed: ld.so.1: doveadm: fatal: relocation error: file /usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: symbol expire_set_init: referenced symbol not found
This is debug output saying that you don't have "expire" plugin enabled. Of course, it's shown with Error: prefix.. I'm getting tired of people reporting this, so I suppose I'll have to change the message..
Am 06.08.2010 18:09, schrieb Timo Sirainen:
On Fri, 2010-08-06 at 16:52 +0200, Burckhard Schmidt wrote:
/usr/dovecot-2/bin/doveadm -Dv expunge -u userx mailbox AutoCleanSpam savedbefore 30d
You enabled debug output with -D.
doveadm(root): Debug: Loading modules from directory: /usr/dovecot-2/lib/dovecot/doveadm doveadm(root): Error: dlopen(/usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so) failed: ld.so.1: doveadm: fatal: relocation error: file /usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: symbol expire_set_init: referenced symbol not found
This is debug output saying that you don't have "expire" plugin enabled.
Isn't this sufficient: dovecot -n
# 2.0.rc4: /usr/dovecot-2/etc/dovecot/dovecot.conf # OS: SunOS 5.10 sun4v ... dict { expire = sqlite:/usr/dovecot-2/etc/dovecot/dovecot-dict-sql.conf.ext } ... plugin { ... expire = AutoCleanSpam expire2 = test expire_dict = proxy::expire ... } ... protocol lda { mail_plugins = autocreate sieve expire } protocol imap { mail_plugins = autocreate acl imap_acl expire }
Of course, it's shown with Error: prefix.. I'm getting tired of people reporting this, sorry
so I suppose I'll have to change the message..
-- regards --- Burckhard Schmidt
On 08/07/2010 01:06 PM Schmidt wrote:
Am 06.08.2010 18:09, schrieb Timo Sirainen:
This is debug output saying that you don't have "expire" plugin enabled.
Isn't this sufficient: dovecot -n
# 2.0.rc4: /usr/dovecot-2/etc/dovecot/dovecot.conf # OS: SunOS 5.10 sun4v ... dict { expire = sqlite:/usr/dovecot-2/etc/dovecot/dovecot-dict-sql.conf.ext } ... plugin { ... expire = AutoCleanSpam expire2 = test expire_dict = proxy::expire ... } ... protocol lda { mail_plugins = autocreate sieve expire } protocol imap { mail_plugins = autocreate acl imap_acl expire }
No, it's not sufficient. You are using doveadm, not lda/imap. Doveadm can only use plugins from the global mail_plugins setting. You could set something like:
mail_plugins = autocreate expire protocol lda { mail_plugins = $mail_plugins sieve } protocol imap { mail_plugins = $mail_plugins acl imap_acl }
Regards, Pascal
The trapper recommends today: http://kopfkrebs.de/mitarbeiter/mitarbeiter_der_woche.html
Am 07.08.2010 13:13, schrieb Pascal Volk:
On 08/07/2010 01:06 PM Schmidt wrote:
Am 06.08.2010 18:09, schrieb Timo Sirainen:
This is debug output saying that you don't have "expire" plugin enabled.
No, it's not sufficient. You are using doveadm, not lda/imap. Doveadm can only use plugins from the global mail_plugins setting. You could set something like:
mail_plugins = autocreate expire
ok, thanks!
protocol lda { mail_plugins = $mail_plugins sieve } protocol imap { mail_plugins = $mail_plugins acl imap_acl }
Regards, Pascal
-- regards --- Burckhard Schmidt
participants (4)
-
Burckhard Schmidt
-
Pascal Volk
-
Schmidt
-
Timo Sirainen