Using dovecot-1.1beta1 I get "Unknown dict module: db" when starting up dovecot. In dovecot.conf I've got the "expire_dict = db:/var/lib/dovecot/expire.db" statement in the plugin{} section. Aparently required when the "expire" plugin is enabled. dovecot is built with "--with-db" and db-devel is present at compile time. Any ideas anyone? Cheers /Lars
On Mon, 2007-09-24 at 15:55 +0200, Lars Stavholm wrote:> Using dovecot-1.1beta1 I get "Unknown dict module: db" > when starting up dovecot. In dovecot.conf I've got the > "expire_dict = db:/var/lib/dovecot/expire.db" statement > in the plugin{} section. Aparently required when the > "expire" plugin is enabled. dovecot is built with > "--with-db" and db-devel is present at compile time. > > Any ideas anyone?The problem is that imap binary isn't linked with libdb, so this doesn't work. You'll have to somehow kludge this yourself, or an easier way is to use dict proxy. It's configured the same way as SQL for dict quota: http://wiki.dovecot.org/Quota/Dict Note that the expire plugin hasn't been tested for a year or so, so be sure to test that it works before relying on it :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070924/3feadee7/attachment-0002.bin>
Timo Sirainen wrote:> On Mon, 2007-09-24 at 15:55 +0200, Lars Stavholm wrote: >> Using dovecot-1.1beta1 I get "Unknown dict module: db" >> when starting up dovecot. In dovecot.conf I've got the >> "expire_dict = db:/var/lib/dovecot/expire.db" statement >> in the plugin{} section. Aparently required when the >> "expire" plugin is enabled. dovecot is built with >> "--with-db" and db-devel is present at compile time. >> >> Any ideas anyone? > > The problem is that imap binary isn't linked with libdb, so this doesn't > work. You'll have to somehow kludge this yourself, or an easier way is > to use dict proxy. It's configured the same way as SQL for dict quota: > http://wiki.dovecot.org/Quota/Dict > > Note that the expire plugin hasn't been tested for a year or so, so be > sure to test that it works before relying on it :)OK, I hear you, thanks. /L