cyrus-imapd-2.2.12-10 -- impurge and -f recursion --
Carsten Hoeger
choeger at open-xchange.com
Wed Jan 20 04:20:39 EST 2010
On Fri, Jan 15, James B. Byrne wrote:
> I run cyrus-imapd under CentOS-4.8 (a RedHat el4 clone). I am
> trying to discover if there is any way to purge a user's INBOX of
> old and over-sized messages without affecting the contents of any
> subfolders thereof.
>
> I have looked at impurge as the mechanism. However,my reading of the
> man page, and of online discussions relating to this matter,
> indicate that in order for impurge to remove any mail from the INBOX
> then the -f switch has to be passed. But, I also gather that
> whenever the -f switch is used then ALL subfolders of the target
> directory are purged recursively as well.
>
> This strikes me as a rather odd combination of attributes but I
> cannot see any way to prevent recursion if the -f switch is used.
> What is the recommended way to purge mail from a user's INBOX only
> using criteria such as age and size?
You are not the only one searching for a better control of what ipurge should
delete.
I created a feature request for that and submitted a patch to the cmu
bugzilla:
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3167
This is the link to the patch including documentation in the manpage:
https://bugzilla.andrew.cmu.edu/attachment.cgi?id=1232
--
With best regards,
Carsten Hoeger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100120/318546e5/attachment.bin
More information about the Info-cyrus
mailing list