Topic: Expire issue
Hello,
I'm struggling with "expire" module. I believe that everything is set correctly. I have modified config file using this documentation: http://wiki2.dovecot.org/Plugins/Expire
Bits of dovecot.conf related to the expire plugin configuration:
mail_plugins = quota zlib expire
dict {
# acl = mysql:/etc/dovecot/dovecot-share-folder.conf
expire = mysql:/etc/dovecot/dovecot-dict-expire.conf.ext
quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
plugin {
expire_dict = proxy::expire
expire = Trash 7 Trash/* 7 Junk 30 Sent 30
expire_dict = proxy::expire
expire_cache = yes
}
Contents of the /etc/dovecot/dovecot-dict-expire.conf.ext file
connect = host=secret dbname=vmail user=vmail password=secret
map {
pattern = shared/expire/$user/$mailbox
table = expires
value_field = expire_stamp
fields {
username = $user
mailbox = $mailbox
}
}
Is there anything else I should do to make this work? There is nothing in the logs related to the expire plugin even with Dovecot in debug mode, also the MySQL table (expires) is empty.
==== Required information ====
- iRedMail version 0.9.5-1
- Linux/BSD distribution name and version: CentOS 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: Nothing in log
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.