[Dovecot] Problems with Expire Plugin

Timo Sirainen tss at iki.fi
Fri Jul 10 23:29:50 EEST 2009


I'm getting tired of explaining again and again how expire plugin is
supposed to work, so I added now Example #1 timeline and Example #2
timeline to http://wiki.dovecot.org/Plugins/Expire which tell exactly
what is supposed to happen with a couple of examples. Do they finally
help understanding how exactly things are supposed to work?

Unfortunately X-SAVEDATE doesn't work with current 1.2 versions, because
of a bug. If you want to look at them, you can apply this patch to
v1.2.1: http://hg.dovecot.org/dovecot-1.2/rev/f353c5b71097

On Fri, 2009-07-10 at 10:58 -0500, Jose Luis Marin Perez wrote:
> Dear Timo,
> 
> As I understand with regard to Expire plugin is marking the folder will
> be deleted in a certain amount of days and that the deletion is
> performed by expire-tool 
> 
>  Expire plugin works correctly, and
> I can check on the database folder has been marked, the problem is with
> expire-tool as it does the deletion. 
> 
>  This is intended to expire Expire Plugin-tool?
> 
> Please require your help to solve this problem. 
> 
>  I apologize for my low level of knowledge about these issues, but what interests me is to learn.
> 
> Thanks
> 
> Jose Luis
> 
> > From: jolumape_al at hotmail.com
> > To: tss at iki.fi
> > Date: Thu, 9 Jul 2009 14:18:28 -0500
> > CC: dovecot at dovecot.org
> > Subject: Re: [Dovecot] Problems with Expire Plugin
> > 
> > 
> > Dear Timo
> > 
> > I have set up crontab to run the tool expires at midnight 
> > 
> >  When running with the --test option: 
> > 
> > Info: User lookup failed: jmarin at sistemasunidos.com
> > Info: jmarin at sistemasunidos.com/INBOX.Papelera: no messages left
> > 
> > When running without the --test option: 
> > 
> > Does not leave any message and there are no data in the table expires of Mysql
> > 
> >  I reviewed the Trash folder and still holds the emails. 
> > 
> > 
> > It should be noted that for purposes of the test today I sent two
> > emails and copied to the Papelera folder so that after executing the
> > end-tool should be removed
> > 
> > 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: Thu, 9 Jul 2009 14:57:19 -0400
> > > 
> > > On Thu, 2009-07-09 at 12:12 -0500, Jose Luis Marin Perez wrote:
> > > >  Now my problem is with expire-tool because it is not deleting the
> > > > emails in the folder that has been marked by Expire Plugin. 
> > > 
> > > Did you read how exactly it works?
> > > http://wiki.dovecot.org/Plugins/Expire
> > > 
> > > >  This is the command that I run through crontab:
> > > > 
> > > > /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool
> > > 
> > > Giving --test parameter shows what it's really doing.
> > > 
> > > > | jmarin at sistemasunidos.com/INBOX.Papelera |   1247162400 |
> > > 
> > > 1247162400 = Thu Jul  9 18:00:00 UTC 2009
> > > 
> > > So it should have started checking and expunging oldest message(s) from
> > > this mailbox about an hour ago (as of when I'm writing this mail).
> > > 
> > 
> > _________________________________________________________________
> > News, entertainment and everything you care about at Live.com. Get it now!
> > http://www.live.com/getstarted.aspx
> 
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090710/9d9b6fb5/attachment.bin 


More information about the dovecot mailing list