Re: delete messages from INBOX.Trash INBOX.Junk

2007-09-20 Thread Joseph Brennan


--On Thursday, September 20, 2007 11:47 -0400 Robert Banz <[EMAIL PROTECTED]> 
wrote:

> They're the kind of folks that routinely ask for "important mail
> we've deleted from their Trash folder" to be restored.
>


Ha!  The same thing has happened here.

Note, the client makes a Trash folder and provides a nice button to
move things into it.  Imagine if the client also made an Archive folder
and had another button for that.

Joseph Brennan
Lead Email Systems Engineer
Columbia University Information Technology




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


Re: delete messages from INBOX.Trash INBOX.Junk

2007-09-20 Thread Robert Banz
>
> I have an 'expire' set from inside 'cyradm' to automatically delete
> messages over a specific number of days old. I don't generate any
> emails to my users telling them what nor how many will be deleted...
> I just delete them nightly, or rather let cyrus do the deleting.

Our users need some notification.

They're the kind of folks that routinely ask for "important mail  
we've deleted from their Trash folder" to be restored.

Really.

-rob

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


Re: delete messages from INBOX.Trash INBOX.Junk

2007-09-20 Thread Mike Eggleston
On Thu, 20 Sep 2007, Robert Banz might have said:

> 
> 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:
> >
> >   purgetrashcmd="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

I have an 'expire' set from inside 'cyradm' to automatically delete
messages over a specific number of days old. I don't generate any
emails to my users telling them what nor how many will be deleted...
I just delete them nightly, or rather let cyrus do the deleting.

Mike

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


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

2007-09-20 Thread Vladi Lemurov
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:
> 
>   purgetrashcmd="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


Re: delete messages from INBOX.Trash INBOX.Junk

2007-09-20 Thread Robert Banz

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:
>
>   purgetrashcmd="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
>


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


Re: delete messages from INBOX.Trash INBOX.Junk

2007-09-20 Thread Paul Dekkers
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:

  purgetrashcmd="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


delete messages from INBOX.Trash INBOX.Junk

2007-09-19 Thread Vladi Lemurov
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"?

Or should we use scripts with lines something like
"find ./ -regex "./[0-9]*\." -ctime +30 -exec rm {} \;"
and then rebuild the mailbox?
Thanks, Vladi.


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