No exire on subsolders [BUG#3092, BUG#2302]

Heinrich Peters heinrich-peters at nurfuerspam.de
Thu Aug 4 07:51:33 EDT 2011


Hey,

On Thu, 04 Aug 2011 05:53:18 -0400, Adam Tauno Williams wrote:
> On Thu, 2011-08-04 at 10:22 +0200, Heinrich Peters wrote:
>> Hello,
>> I am using Cyrus Imap on Debian (2.2.13-19+squeeze1).
>
> Very very old.

i know, but that is the default version in debian stable...


>>  I have configured my spam-folder to expire messages automatically
>> after 31 days. If I add a subfolder to my junk-folder, the messages
>> expire after 31 days, too.
>
> Yes, the expire annotation is inherited.
>
>> How can I stop this behavior?
>
> You can't.
> <https://bugzilla.cyrusimap.org/show_bug.cgi?id=2302>
> <https://bugzilla.cyrusimap.org/show_bug.cgi?id=3092>

I am not sure, but how do the two bugs affect "my" problem? Bug 3092 is 
about changing a commandline parameter (-F to -M). And I thought, 
cyr_expire is doing to job (not ipurge).



> You could probably set another expire annotation on the subfolder
> itself;  something crazy like 9999, just as a hack.

OK. Thank you, then I will use this hack...

Btw:
Searching the list I found: 
<http://asg.andrew.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=29967>
"> mboxcfg user.someuser.spam expire 7

This is what I use for my user's SPAM folders and for my newsgroup
folders, but you need to keep in mind that the /expire annotation is
inherited by children unless told otherwise."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Is your hack the way to do this or do I miss something?

Thanks,
Heinrich




More information about the Info-cyrus mailing list