[Dovecot] plugin expire
Felix Rubio Dalmau
felixrubiodalmau at gmail.com
Wed Jul 17 09:24:50 EEST 2013
Hi everybody,
I'm trying to configure the expire plugin, unsuccessfully. This is my
configuration, the part related to this plugin. Could somebody give a look to
it? I can not figure out why is not working :-S.
Thank you, and regards!
Felix
############ doveconf output
dict {
expire = mysql:/etc/dovecot/dovecot-dict-expire.conf.ext
}
plugin {
expire = Trash 15 Junk 15
expire_dict = proxy::expire
}
protocol imap {
mail_plugins = " zlib expire"
}
########### dovecot-dict-expire.conf.ext
# CREATE TABLE virtual_expires (
# username varchar(100) not null,
# mailbox varchar(255) not null,
# expire_stamp integer not null,
# primary key (username, mailbox)
# );
map {
pattern = shared/expire/$user/$mailbox
table = virtual_expires
value_field = expire_stamp
fields {
username = $user
mailbox = $mailbox
}
}
More information about the dovecot
mailing list