delete messages from INBOX.Trash INBOX.Junk
Robert Banz
banz at umbc.edu
Thu Sep 20 09:13:28 EDT 2007
Going this same direction... With our previous mail system, we used
to chug through our users' Spam & Trash folders, and send them a
weekly notification reminding them of the messages they had in these
folders, and how many would be deleted in the next week.
Anyone done something similar with Cyrus?
-rob
On Sep 20, 2007, at 05:21, Paul Dekkers wrote:
> Hi,
>
> Vladi Lemurov wrote:
>> Hello!
>> Is there any way to delete old messages e.g. older than 30 days from
>> INBOX.Trash and INBOX.Junk mailboxes of all users in a proper
>> "cyrus-way"?
>>
>
> You can use ipurge, and run it periodically from cyrus.conf. We
> have for
> instance:
>
> purgetrash cmd="ipurge -d 14 -f user.%.Trash" at=0200
>
> (and a couple of others for the spam folder for instance) to clear the
> Trash folder of users for messages over two weeks old... people
> tend to
> fill it up and never look at it again, this saves over 10G in our
> case :-)
>
> You can run ipurge from the commandline too, as user cyrus. (E.g. sudo
> -u cyrus /path/to/ipurge)
>
> Paul
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
More information about the Info-cyrus
mailing list