[Dovecot] Debugging doveadm expunge
Alessio Cecchi
alessio at skye.it
Tue Apr 8 11:47:01 UTC 2014
Il 08/04/2014 12:47, Andy Hawkins ha scritto:
> Hi,
>
> I'm a recent convert to dovecot, and in general it is all working fine.
>
> However, I have a number of cron jobs set up to purge old messages from
> mailboxes. These don't seem to be doing what I would expect.
>
> Is there any way of debugging this process? Some way of seeing what messages
> it's checking, and why each one matches or fails to match?
>
> For example, I'm running this:
>
> doveadm expunge -u andy mailbox "News Reports" savedbefore 90d
>
Try with:
doveadm search -u andy mailbox "News Reports" before 90d
there is a difference between savedbefore and before, with "search"
instead of "expunge" you can see the result witout delete you email.
Ciao
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz
Cloud Email Hosting -> http://www.qboxmail.com
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
More information about the dovecot
mailing list