[Dovecot] Problems with Expire Plugin

Jose Luis Marin Perez jolumape_al at hotmail.com
Thu Jul 9 20:12:31 EEST 2009


Dear Timo,

Thanks for your reply. 

 The Expire plugin is working correctly, since it is recording the correct information in the table expires. 

 I had a stupid mistake, because they had not compiled MySQL support for Dovecot, a thousand apologies. 

 Now my problem is with expire-tool because it is not deleting the emails in the folder that has been marked by Expire Plugin. 

 This is the command that I run through crontab:

/usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool

mysql

mysql> select * from expires;
+---------------------------------------------+--------------+
| mailbox                                     | expire_stamp |
+---------------------------------------------+--------------+
| jmarin at sistemasunidos.com/INBOX.Papelera |   1247162400 |
+---------------------------------------------+--------------+


dovecot -n

# 1.1.16: /usr/local/etc/dovecot.conf
Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl-disable=yes, no non-plaintext auth mechanisms.
# OS: Linux 2.6.9-67.0.7.EL i686 CentOS release 4.6 (Final)
log_path: /var/log/dovecot.log
protocols: imap
listen: *:10143
ssl_disable: yes
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
first_valid_uid: 89
last_valid_uid: 89
first_valid_gid: 89
last_valid_gid: 89
mail_uid: 89
mail_gid: 89
mail_location: maildir:~/Maildir
mail_debug: yes
mail_plugins: quota imap_quota autocreate expire
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  passdb:
    driver: checkpassword
    args: /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh
  userdb:
    driver: prefetch
    args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u
  socket:
    type: listen
    master:
      path: /usr/local/var/run/dovecot/auth-master
      mode: 384
      user: vpopmail
      group: vchkpw
plugin:
  quota: maildir
  quota_rule: ?:storage=0
  quota_rule2: Trash:ignore
  quota_rule3: Papelera:ignore
  expire: INBOX.Papelera 1 INBOX.Papelera.* 1
  expire_dict: proxy::expire
  autocreate: INBOX.Papelera
  autosubscribe: INBOX.Papelera
dict:
  expire: mysql:/usr/local/etc/dovecot-dict-expire.conf

Thanks for you help

Jose Luis


> Subject: Re: [Dovecot] Problems with Expire Plugin
> From: tss at iki.fi
> To: jolumape_al at hotmail.com
> CC: dovecot at dovecot.org
> Date: Tue, 7 Jul 2009 23:44:43 -0400
> 
> On Tue, 2009-07-07 at 14:42 -0500, Jose Luis Marin Perez wrote:
> > I made the change but still tells me that does not register any information in the table expires. 
> 
> I don't really know. Try if you can get it to work with v1.2 +
> http://hg.dovecot.org/dovecot-1.2/rev/df2d4e398c06 patch? Then it should
> log some more information and maybe that's enough to get it to work
> (with v1.1 too if you want to keep using it).
> 

_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline


More information about the dovecot mailing list