[Dovecot] Expire failing with error Remote Disconnected

dovecot at corwyn.net dovecot at corwyn.net
Sat Feb 14 00:54:37 EET 2009


At 04:54 PM 2/13/2009, e-frog wrote:

> > No idea - I installed from RPM. Is there a way to check?
>
>Check your dovecot error log. If BDB is not enabled you should see:
>
>    dovecot: dict: Unknown dict module: db

when I run the task dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool

Feb 13 17:40:24 agencymaildev dovecot: dict: secondary db: 
/var/lib/dovecot/expire.db: unexpected file type or format
Feb 13 17:40:24 agencymaildev dovecot: dict: Failed to initialize 
dictionary 'expire'

Not quite the same thing?

In /var/lib/dovecot I have
-rw-------  1 root    root     24576 Feb 13 15:35 __db.001
-rw-------  1 root    root    278528 Feb 13 15:35 __db.002
-rw-------  1 root    root     98304 Feb 13 15:35 __db.003
-rw-------  1 root    root     16384 Feb 13 15:35 __db.004

so something is going on.

Ok, well I'd created /var/lib/dovecot/expire.db with touch. Not so 
good apparently. When I delete that, now dovecot --exec-mail ext 
/usr/libexec/dovecot/expire-tool
runs with no errors, no output, no anything.


Rick






More information about the dovecot mailing list