[Dovecot] problem with expire plugin (dovecot 1.1.1)

peceka peceka at gmail.com
Wed Jul 2 13:41:21 EEST 2008


Hi,

i want to set up expire plugin with my dovecot configuration.

host# dovecot -n
# 1.1.1: /usr/local/etc/dovecot.conf
protocols: imap pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/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
verbose_proctitle: yes
first_valid_gid: 0
mail_privileged_group: mail
mail_location: maildir:~/Maildir
mail_debug: yes
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: expire
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:
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
    driver: pam
  userdb:
    driver: passwd
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
plugin:
  expire: Trash 7 Trash/* 7 Spam 30
  expire_dict: proxy::expire
dict:
  expire: db:/var/lib/dovecot/expire.db

host# dovecot --build-options
Build options: ioloop=kqueue notify=kqueue openssl
Mail storages: maildir mbox dbox cydir raw
SQL drivers:
Passdb: checkpassword pam passwd passwd-file
Userdb: checkpassword passwd prefetch passwd-file static


ok, now i do:
host# dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool
Error: read(/var/run/dovecot/dict-server) failed: Illegal seek

What's wrong with this?

Best regards,
p.


More information about the dovecot mailing list