Hi , is there a feature like doveadm expunge savedbefore ... for imap folder delete ? -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
On 4/19/2012 2:09 PM, Robert Schetterer wrote:> Hi , > is there a feature like > doveadm expunge savedbefore ... > for imap folder delete ?I was wondering the same thing - when a user moves a whole folder into Trash, doveadm expunge mailbox "Trash.*" savedbefore would eventually remove all the messages, but the folder itself remains a subfolder of Trash. It would make sense to be able to remove subfolders which have been there for more than x days and are now empty.
Am 19.04.2012 15:19, schrieb Gedalya:> On 4/19/2012 2:09 PM, Robert Schetterer wrote: >> Hi , >> is there a feature like >> doveadm expunge savedbefore ... >> for imap folder delete ? > I was wondering the same thing - when a user moves a whole folder into > Trash, doveadm expunge mailbox "Trash.*" savedbefore would eventually > remove all the messages, but the folder itself remains a subfolder of > Trash. It would make sense to be able to remove subfolders which have > been there for more than x days and are now empty. >jep i.e for all empty and not longer needed archive date folders -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
On 19.4.2012, at 15.09, Robert Schetterer wrote:> Hi , > is there a feature like > doveadm expunge savedbefore ... > for imap folder delete ?Here: http://hg.dovecot.org/dovecot-2.1/rev/2d8bafd11569 http://hg.dovecot.org/dovecot-2.1/rev/782570f644f7
Am 19.04.2012 17:16, schrieb Timo Sirainen:> On 19.4.2012, at 15.09, Robert Schetterer wrote: > >> Hi , >> is there a feature like >> doveadm expunge savedbefore ... >> for imap folder delete ? > > Here: > > http://hg.dovecot.org/dovecot-2.1/rev/2d8bafd11569 > http://hg.dovecot.org/dovecot-2.1/rev/782570f644f7 >thx Timo ! -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Robert Schetterer
2012-Apr-24 07:50 UTC
[Dovecot] doveadm delete folders ? / unsubscribe ?
Am 19.04.2012 22:00, schrieb Robert Schetterer:> Am 19.04.2012 17:16, schrieb Timo Sirainen: >> On 19.4.2012, at 15.09, Robert Schetterer wrote: >> >>> Hi , >>> is there a feature like >>> doveadm expunge savedbefore ... >>> for imap folder delete ? >> >> Here: >> >> http://hg.dovecot.org/dovecot-2.1/rev/2d8bafd11569 >> http://hg.dovecot.org/dovecot-2.1/rev/782570f644f7 >> > > thx Timo ! >Hi Timo doveadm expunge -d -u *@domain.example mailbox exampelfolder\* savedbefore 10d works like charm, but the folders do not get unsubscribed any chance to have i.e another add parameter ,or do it auto cause empty and deleted folders should not stay subscribed in my eyes -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
On 24.4.2012, at 10.50, Robert Schetterer wrote:> doveadm expunge -d -u *@domain.example mailbox exampelfolder\* > savedbefore 10d > > works like charm, but the folders do not get unsubscribed > any chance to have i.e another add parameter ,or do it auto > cause empty and deleted folders should not stay subscribed in my eyesYeah, I guess unsubscribing is always wanted: http://hg.dovecot.org/dovecot-2.1/rev/b1653b7bd165
Robert Schetterer
2012-Apr-25 06:13 UTC
[Dovecot] doveadm delete folders ? / unsubscribe ?
Am 24.04.2012 20:13, schrieb Timo Sirainen:> On 24.4.2012, at 10.50, Robert Schetterer wrote: > >> doveadm expunge -d -u *@domain.example mailbox exampelfolder\* >> savedbefore 10d >> >> works like charm, but the folders do not get unsubscribed >> any chance to have i.e another add parameter ,or do it auto >> cause empty and deleted folders should not stay subscribed in my eyes > > Yeah, I guess unsubscribing is always wanted: > > http://hg.dovecot.org/dovecot-2.1/rev/b1653b7bd165 >Hi Timo, i will try after update and report, jep unsubscribing should be the uni wanted behave thx again ! -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Robert Schetterer
2012-Apr-25 18:16 UTC
[Dovecot] doveadm delete folders ? / unsubscribe ?
Am 25.04.2012 08:13, schrieb Robert Schetterer:> Am 24.04.2012 20:13, schrieb Timo Sirainen: >> On 24.4.2012, at 10.50, Robert Schetterer wrote: >> >>> doveadm expunge -d -u *@domain.example mailbox exampelfolder\* >>> savedbefore 10d >>> >>> works like charm, but the folders do not get unsubscribed >>> any chance to have i.e another add parameter ,or do it auto >>> cause empty and deleted folders should not stay subscribed in my eyes >> >> Yeah, I guess unsubscribing is always wanted: >> >> http://hg.dovecot.org/dovecot-2.1/rev/b1653b7bd165 >> > > Hi Timo, i will try after update and report, jep > unsubscribing should be the uni wanted behave > thx again !tested works nice thx Timo ! -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria