[Dovecot] expire plugin error

Michael Lechtermann dovecot at lechtermann.net
Thu Jan 22 12:55:02 EET 2009


Hi,

I am using the db backend for the expire plugin and found the following
error message in the logfile:


dovecot: Jan 22 10:10:55 Error: dict: secondary db: unable to allocate
space from the buffer cache
dovecot: Jan 22 10:10:55 Error: dict: Failed to initialize dictionary
'expire'
dovecot: Jan 22 10:10:55 Error: IMAP(xxxxxxxxxx):
read(/var/dovecot/dict-server) failed: Remote disconnected


Anyone know how to fix this? I do not want to use SQL as backend, that
would be overkill.


# ls -alFh /var/dovecot/dict-server
srwxrwxrwx  1 root  wheel  -    0B Jan 22 10:08 /var/dovecot/dict-server=


# dovecot -n
# 1.1.8: /etc/dovecot.conf
# OS: OpenBSD 4.4 sparc64  ffs
base_dir: /var/dovecot/
log_path: /var/log/dovecot.log
protocols: imaps pop3s
listen: xxxxxxxxxxxx
ssl_ca_file: /etc/ssl/xxxxxxxxxxxx.ca
ssl_cert_file: /etc/ssl/xxxxxxxxxxxx.crt
ssl_key_file: /etc/ssl/private/xxxxxxxxxxxx.key
login_dir: /var/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_user: _dovecot
mail_max_userip_connections(default): 25
mail_max_userip_connections(imap): 25
mail_max_userip_connections(pop3): 5
first_valid_uid: 10000
last_valid_uid: 19999
first_valid_gid: 100
last_valid_gid: 100
mail_gid: 100
mail_location:
mbox:/var/data/mail/%u/mbox:INBOX=/var/data/mail/%u/mbox/inbox:INDEX=/var/dovecot/index/%u
mbox_write_locks: fcntl
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugins(default): expire imap_quota quota trash zlib
mail_plugins(imap): expire imap_quota quota trash zlib
mail_plugins(pop3): expire quota zlib
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  passdb:
    driver: bsdauth
  userdb:
    driver: passwd
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
plugin:
  quota: fs:user:noenforcing:mount=/var/data
  trash: /etc/dovecot-trash.conf
  expire: Trash 14
  expire_dict: proxy:/var/dovecot/dict-server:expire
dict:
  expire: db:/var/lib/dovecot/expire.db



More information about the dovecot mailing list