[Dovecot] doveadm delete folders ?
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
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 eyes
Yeah, I guess unsubscribing is always wanted:
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:
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
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:
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
Hello, Would you be able to show what you did in order to make this command unsubscribe as well? The link provided with the answer, no longer works.
Thank you, Ryan
On 19/02/2024 22:17 EET Ryan Ford <rford@rhsonline.net> wrote:
Hello, Would you be able to show what you did in order to make this command unsubscribe as well? The link provided with the answer, no longer works.
Thank you, Ryan
doveadm mailbox unsubscribe -u <user> <mailbox>
Aki
participants (5)
-
Aki Tuomi
-
Gedalya
-
Robert Schetterer
-
Ryan Ford
-
Timo Sirainen