Automatic removal of messages over NN days present in a folder.

Wesley Craig wes at umich.edu
Mon Oct 20 11:51:01 EDT 2008


You're thinking of modifying ipurge to do this?  Sounds like a nice  
idea.  Messages are moved to Trash with COPY, and COPY retains the  
original INTERNALDATE.  However, the last_updated is set to NOW on  
COPY, so that's probably what you want.  ipurge currently supports  
SENTDATE and INTERNALDATE.  A cursory review suggests that adding  
LAST_UPDATED is trivial -- not that I've tested it :)

Is there some reason you're not running 2.3.x?  I'm not aware of any  
plans to make new 2.2.x releases, certainly not for feature  
enhancements.

:wes

On 20 Oct 2008, at 05:41, Eric Luyten wrote:
> I was thinking of generalizing the 'Trash' concept with
> a similar automatic expiry but it appears Cyrus doesn't
> quite have the necessary tool(s) for this.
>
> Imagine the Trash folders being auto-emptied after 45 days.
> Imagine a message sitting in a user mailbox for 50 days and
> which now gets moved to Trash.
> The idea is to not have this message removed from the server
> the following night but to have the countdown starting at the
> time of moving it to Trash.
>
> Any ideas/suggestions for a neat solution or workaround ?


More information about the Info-cyrus mailing list