[SOLVED] Re: delete messages from INBOX.Trash INBOX.Junk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, that't the thing I need!
Thanks to all who participated.
	Vladi Lemuroff.

   20.09.2007 16:21:
> 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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux