expunging deleted messages?

mikee mikee at mikee.ath.cx
Fri Jun 29 09:15:56 EDT 2007


On Fri, 29 Jun 2007, Dmitriy Kirhlarov might have said:

> mikee wrote:
> > [cyrus@$HOST ~]$ time cyr_expire -v -E 3 -X 3
> > <users snipped>
> > expiring messages in user.mikee.backup older than 2 days
> > expiring messages in user.mikee.spam older than 5 days
> > <users snipped>
> > 
> > expunged 5405 out of 21470 messages from 21 mailboxes
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> It's work.
> 
> > [cyrus@$HOST ~]$ cyrdump -v user.mikee.hobbit | grep '<flag' | less
> > gs>
> >   <flag name="\Answered" user="*"></flag>
> >   <flag name="\Deleted" user="*">119862 119863 119864 119865 119866 119867 119868 119869 119870 119871 119872 119
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This messages not deleted. Just marked as \Deleted.
> see imapd.conf(5) about expunge_mode option

Is there a command to go ahead and purge any messages that are
flagged as \Deleted and the \Deleted flag was set X days ago?

What I'm trying to accomplish is the automatic removal of any
messages my users have 'deleted' and not yet purged.

Mike


More information about the Info-cyrus mailing list