Re: [Dovecot] Problem with expire plugin and expunge
Hello,
It looks like it expunged all the messages from Trash. Did you check if that happened? Did it expunge too many messages?
Mar 18 09:50:28 joseph dovecot: imap(christoph): Debug: expire: Saving first message to Trash, updating timestamp to 1300438228
This happens, because it thinks the Trash was empty..
Is there any solution in sight for this? Is there some additional information I can give you for solving that problem?
Regards Christoph
On Sat, 2011-04-02 at 11:21 +0200, Christoph Pleger wrote:
Hello,
It looks like it expunged all the messages from Trash. Did you check if that happened? Did it expunge too many messages?
Mar 18 09:50:28 joseph dovecot: imap(christoph): Debug: expire: Saving first message to Trash, updating timestamp to 1300438228
This happens, because it thinks the Trash was empty..
Is there any solution in sight for this? Is there some additional information I can give you for solving that problem?
Well, the weird thing is that the logs say it's expunging everything and you say it's not.. What about if you change the cronjob to do:
doveadm fetch uid mailbox Trash doveadm expunge mailbox Trash .. doveadm fetch uid mailbox Trash
so that it logs 1) a list of UIDs before expunge, 2) UIDs of what get expunged and 3) UIDs that exist after expunge.
Hello,
Timo Sirainen wrote:
Is there any solution in sight for this? Is there some additional information I can give you for solving that problem?
Well, the weird thing is that the logs say it's expunging everything and you say it's not.. What about if you change the cronjob to do:
doveadm fetch uid mailbox Trash doveadm expunge mailbox Trash .. doveadm fetch uid mailbox Trash
so that it logs 1) a list of UIDs before expunge, 2) UIDs of what get expunged and 3) UIDs that exist after expunge.
I have attached a file with the output of yesterday's cron job's execution. As you can see, after expunging there are still messages in the Trash folder, though expunge itself says that it has removed the first message.
Regards Christoph
On Sun, 2011-04-10 at 09:11 +0200, Christoph Pleger wrote:
I have attached a file with the output of yesterday's cron job's execution. As you can see, after expunging there are still messages in the Trash folder, though expunge itself says that it has removed the first message.
Thanks. Looks like it was a simple mdbox-specific bug. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/2269cea521b6
Hello,
I have attached a file with the output of yesterday's cron job's execution. As you can see, after expunging there are still messages in the Trash folder, though expunge itself says that it has removed the first message.
Thanks. Looks like it was a simple mdbox-specific bug. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/2269cea521b6
Thank you. I will try that out as soon as possible.
Regards Christoph
participants (2)
-
Christoph Pleger
-
Timo Sirainen