[Dovecot] Problems with Expire Plugin

Jose Luis Marin Perez jolumape_al at hotmail.com
Tue Jul 7 22:42:09 EEST 2009


Dear Timo,

I made the change but still tells me that does not register any information in the table expires. 



 Here's my settings again:

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
plugin:
  quota: maildir
  quota_rule: ?:storage=0
  quota_rule2: Trash:ignore
  quota_rule3: Papelera:ignore
  expire: INBOX.Papelera 7 INBOX.Papelera.* 7
  expire_dict: proxy::expire
  autocreate: INBOX.Papelera
  autosubscribe: INBOX.Papelera
dict:
  expire: mysql:/usr/local/etc/dovecot-dict-expire.conf

/usr/local/etc/dovecot-dict-expire.conf

connect = host=localhost dbname=expunge user=expireuser password=expirepass

# v1.1 only:
table = expires
select_field = expire_stamp
where_field = mailbox
username_field = not_used

mysql> describe expires;
+--------------+--------------+------+-----+---------+-------+
| Field        | Type         | Null | Key | Default | Extra |
+--------------+--------------+------+-----+---------+-------+
| mailbox      | varchar(255) |      | PRI |         |       |
| expire_stamp | int(11)      |      |     | 0       |       |
+--------------+--------------+------+-----+---------+-------+

mysql> select * from expires;
Empty set (0.00 sec)


I need some extra configuration?

Thanks

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 15:04:23 -0400
> 
> On Tue, 2009-07-07 at 14:01 -0500, Jose Luis Marin Perez wrote:
> > Hi Timo,
> > 
> > But the Quota plugin if it works what is not working on the Expire plugin.
> 
> Just ignore the quota parts of my previous mails, but don't ignore what
> I said about expire:
> 
> > >   expire: Papelera 7 Papelera/* 7
> 
> This needs to be instead:
> 
> expire = INBOX.Papelera 7 INBOX.Papelera.* 7
> 

_________________________________________________________________
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