Re: [Dovecot] expunging

2012-02-18 Thread Timo Sirainen
On 18.2.2012, at 19.34, micah anderson wrote: >>* Expire plugin: Only go through users listed by userdb iteration. >> Delete dict rows for nonexistent users, unless >> expire_keep_nonexistent_users=yes. > > Great, i'll give that version a spin, thanks! > > Is there a si

Re: [Dovecot] expunging

2012-02-18 Thread micah anderson
On Sat, 18 Feb 2012 18:52:57 +0200, Timo Sirainen wrote: > On 17.2.2012, at 20.25, Micah Anderson wrote: > > > /usr/bin/doveadm expunge -A mailbox Trash* savedbefore 21d > > /usr/bin/doveadm expunge -A mailbox Spam savedbefore 7d > > /usr/bin/doveadm expunge -A mailbox Sent savedbefore 120d > >

Re: [Dovecot] expunging

2012-02-18 Thread Timo Sirainen
On 17.2.2012, at 20.25, Micah Anderson wrote: > /usr/bin/doveadm expunge -A mailbox Trash* savedbefore 21d > /usr/bin/doveadm expunge -A mailbox Spam savedbefore 7d > /usr/bin/doveadm expunge -A mailbox Sent savedbefore 120d > > It seems like it does not use the iterate query, but rather it looks

[Dovecot] expunging

2012-02-17 Thread Micah Anderson
I am having trouble scaling some regular dovecot cleanup operations on our servers. On a daily basis, I'm wanting to do this on each server, which contains its own isolated set of user storage: /usr/bin/doveadm expunge -A mailbox Trash* savedbefore 21d /usr/bin/doveadm expunge -A mailbox Spam sav