Re: [Dovecot] Move to a Specific Folder

2009-09-18 Thread Darvin Denmian
Thanks, for all replies. I'll use find :) On Fri, Sep 18, 2009 at 11:06 AM, Andrew Schulman wrote: >> > Is there a way to automatically expurge or move messages from a >> > specific folder to another folder after "X" days? >> >> I use a daily cron job for this.  It runs a script that deletes me

Re: [Dovecot] Move to a Specific Folder

2009-09-18 Thread Andrew Schulman
> > Is there a way to automatically expurge or move messages from a > > specific folder to another folder after "X" days? > > I use a daily cron job for this. It runs a script that deletes messages > more than 6 months old from the Junk folder. Looking at my nightly spam control job, I see that

Re: [Dovecot] Move to a Specific Folder

2009-09-18 Thread Andrew Schulman
> Will this solution works even if I had a lot of messages or subfolders? Of course, if you know how to use the find(1) command. Test it carefully before you deploy it, though-- find | xargs rm is an extremely dangerous combination, since you'll probably need several iterations to get the find co

Re: [Dovecot] Move to a Specific Folder

2009-09-17 Thread Timo Sirainen
Nope. Probably wouldn't be difficult to implement, but it's a pretty low priority for me.. On Sep 17, 2009, at 9:30 PM, Darvin Denmian wrote: Timo, I know this plugin, but instead of removing the messages I need to move them to a specific folder,can it do this? Thanks. On Thu, Sep 17, 2009

Re: [Dovecot] Move to a Specific Folder

2009-09-17 Thread Darvin Denmian
Timo, I know this plugin, but instead of removing the messages I need to move them to a specific folder,can it do this? Thanks. On Thu, Sep 17, 2009 at 4:11 PM, Timo Sirainen wrote: > On Sep 17, 2009, at 7:28 PM, Darvin Denmian wrote: > >> Is there a way to automatically expurge or move message

Re: [Dovecot] Move to a Specific Folder

2009-09-17 Thread Timo Sirainen
On Sep 17, 2009, at 7:28 PM, Darvin Denmian wrote: Is there a way to automatically expurge or move messages from a specific folder to another folder after "X" days? http://wiki.dovecot.org/Plugins/Expire

Re: [Dovecot] Move to a Specific Folder

2009-09-17 Thread Darvin Denmian
Will this solution works even if I had a lot of messages or subfolders? Will this index update take much time? Thanks ! On Thu, Sep 17, 2009 at 2:36 PM, Andrew Schulman wrote: >> Is there a way to automatically expurge or move messages from a >> specific folder to another folder after "X" days?

Re: [Dovecot] Move to a Specific Folder

2009-09-17 Thread Andrew Schulman
> Is there a way to automatically expurge or move messages from a > specific folder to another folder after "X" days? I use a daily cron job for this. It runs a script that deletes messages more than 6 months old from the Junk folder. If you can do this directly in Dovecot, then I guess that's b

Re: [Dovecot] Move to a Specific Folder

2009-09-17 Thread Eduardo M KALINOWSKI
On Qui, 17 Set 2009, Darvin Denmian wrote: Is there a way to automatically expurge or move messages from a specific folder to another folder after "X" days? Where "X" specifies the amount of days that messages in folder will be kept. If it's maildir, you can use find(1) to search the messages

[Dovecot] Move to a Specific Folder

2009-09-17 Thread Darvin Denmian
Is there a way to automatically expurge or move messages from a specific folder to another folder after "X" days? Where "X" specifies the amount of days that messages in folder will be kept. Thanks !