Re: Auto-archiving

2016-10-12 Thread @lbutlr
On 07 Oct 2016, at 09:18, Aki Tuomi wrote: > doveadm move -u jane Archive ALL BEFORE 30d That failed, but doveadm move -u jane Archive ALL mailbox '*' BEFORE 30d Appears to be going something…

Re: Auto-archiving

2016-10-07 Thread Aki Tuomi
> On October 7, 2016 at 4:13 PM "@lbutlr" wrote: > > > On 05 Oct 2016, at 23:50, Aki Tuomi wrote: > >> On October 6, 2016 at 8:05 AM "@lbutlr" wrote: > >> > >> > >> I’d like to know if there is a way to tell dovecot to > >> > >> 1) move messages older than # days to the Archive folder > >>

Re: Auto-archiving

2016-10-07 Thread Julien Lambot
Hi List We use this for archiving, through cronjob, https://gist.github.com/pkern/3730543 Works prety fine. On Fri, Oct 7, 2016 at 3:13 PM, @lbutlr wrote: > On 05 Oct 2016, at 23:50, Aki Tuomi wrote: > >> On October 6, 2016 at 8:05 AM "@lbutlr" wrote: > >> > >> > >> I’d like to know if there

Re: Auto-archiving

2016-10-07 Thread @lbutlr
On 05 Oct 2016, at 23:50, Aki Tuomi wrote: >> On October 6, 2016 at 8:05 AM "@lbutlr" wrote: >> >> >> I’d like to know if there is a way to tell dovecot to >> >> 1) move messages older than # days to the Archive folder >> 2) rebuild the indexes >> 3) remove any folders that are left with no ma

Re: Auto-archiving

2016-10-05 Thread Aki Tuomi
> On October 6, 2016 at 8:05 AM "@lbutlr" wrote: > > > I’d like to know if there is a way to tell dovecot to > > 1) move messages older than # days to the Archive folder > 2) rebuild the indexes > 3) remove any folders that are left with no mail > > Preferably, I’d like this to be a action I

Auto-archiving

2016-10-05 Thread @lbutlr
I’d like to know if there is a way to tell dovecot to 1) move messages older than # days to the Archive folder 2) rebuild the indexes 3) remove any folders that are left with no mail Preferably, I’d like this to be a action I an schedule via crontab or something to fire off for any users that wa