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@hotmail.com To: tss@iki.fi Date: Thu, 9 Jul 2009 14:18:28 -0500 CC: dovecot@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@sistemasunidos.com Info: jmarin@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@iki.fi To: jolumape_al@hotmail.com CC: dovecot@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@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