On Wednesday 26 November 2008 20.57.10 Jakob Curdes wrote:
I myself wrote:
Hi, I try to get expire working, with the BDB backend and mbox mailboxes. (...) [root@m ~]# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --test Error: read(/var/run/dovecot/dict-server) failed: Remote disconnected
Hmm. I searched for hints but could not find a related discussion or problem. Here are the relavant config parts:
My first finding is that I need to enable db when doing ./configure. Now I see a berkeley database tree in the /var/run/dovecot/ directory. However this has the timestamp of the last restart and does not change even when I access one of my expire-configured folders (backu and spam). Should the DB not be updated every time I access one of these folders? I have no namespaces and the folders are directly in the user's home dirs.
But at least the expire-tool now runs silently. Totally silently. No output at all....
Maybe you'll find this thread useful:
http://dovecot.org/list/dovecot/2008-October/034747.html
-- LEVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1