[Dovecot] expire-tool complains in 1.2
LEVAI Daniel
leva at ecentrum.hu
Sat Jul 4 23:15:09 EEST 2009
Hi!
I've upgrade from 1.1 to 1.2, and one thing I noticed, that when running
expire-tool, I get this error:
# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-
tool
Info: Loading modules from directory: /usr/local/lib/dovecot/imap
Info: Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Info: Module loaded: /usr/local/lib/dovecot/imap/lib20_expire_plugin.so
Info: Quota root: name= backend=maildir args=
Info: Quota rule: root= mailbox=* bytes=104857600 messages=0
Info: Quota rule: root= mailbox=Trash bytes=52428800 messages=0
Info: expire: No expire or expire_altmove settings - plugin disabled
Here is how I have defined an "expire" setting in dovecot.conf:
plugin {
[...]
expire = SA.* 1
expire_dict = proxy::expire
[...]
}
# dovecot -n
# 1.2.0: /etc/dovecot/dovecot.conf
# OS: OpenBSD 4.5 i386
log_path: /var/log/mail/dovecot.log
info_log_path: /var/log/mail/dovecot.info
protocols: pop3 pop3s imap
listen: 212.92.15.17 127.0.0.1
ssl: required
ssl_cert_file: /etc/ssl/dovecot_cert.pem
ssl_key_file: /etc/ssl/private/dovecot_key.pem
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
login_user: _dovecot
login_max_processes_count: 10
max_mail_processes: 490
first_valid_uid: 8000
first_valid_gid: 8000
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: quota 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): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain digest-md5 ntlm
user: _dv_auth
master_user_separator: *
verbose: yes
passdb:
driver: passwd-file
args: /etc/dovecot/dovecot.passdb_master
pass: yes
master: yes
passdb:
driver: passwd-file
args: /etc/dovecot/dovecot.passdb
userdb:
driver: passwd-file
args: /etc/dovecot/dovecot.userdb
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: _postfix
group: _postfix
master:
path: /var/run/dovecot/auth-master
mode: 288
user: vmail
group: vmail
plugin:
quota: maildir
quota_rule: *:storage=100M
quota_rule2: Trash:storage=50M
expire: SA.* 1
expire_dict: proxy::expire
dict:
expire: pgsql:/etc/dovecot/dovecot-dict-expire-sql.conf
# cat dovecot-dict-expire-sql.conf
connect = host=localhost dbname=dovecot user=<username> password=<password>
map {
pattern = shared/expire/$user/$mailbox
table = expires
value_field = expire_stamp
fields {
username = $user
mailbox = $mailbox
}
}
What am I doing wrong?
Daniel
--
LÉVAI Dániel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1
More information about the dovecot
mailing list