Re: autoexpunge - different settings for different users

2016-02-08 Thread Timo Sirainen
> On 08 Feb 2016, at 06:46, Tom Johnson wrote: > >> You can override any mail-related setting from userdb. So for example if you >> have: >> >> namespace inbox { >> mailbox Trash { >> autoexpunge = 30d >> } >> } >> >> You can have your userdb return

Re: autoexpunge - different settings for different users

2016-02-08 Thread Leon Kyneur
Hi Tom, Looks like you are missing 'mailbox' keyword: namespace/inbox/mailbox/Drafts/autoexpunge=3d Regards, Leon On Tue, Feb 9, 2016 at 12:51 PM Tom Johnson wrote: > > > On Feb 7, 2016, at 10:59 AM, Timo Sirainen wrote: > > > > You can override any

Re: autoexpunge - different settings for different users

2016-02-08 Thread Tom Johnson
> On Feb 7, 2016, at 10:59 AM, Timo Sirainen wrote: > > You can override any mail-related setting from userdb. So for example if you > have: > > namespace inbox { > mailbox Trash { >autoexpunge = 30d > } > } > > You can have your userdb return

Re: autoexpunge - different settings for different users

2016-02-08 Thread Tom Johnson
> On Feb 8, 2016, at 2:02 AM, Timo Sirainen wrote: > >> >> On 08 Feb 2016, at 06:46, Tom Johnson wrote: >> >> Can you return something like "namespace/inbox/*/autoexpuge=90d" to cover >> all the namespaces? And then override individual ones if necessary? >

Re: autoexpunge - different settings for different users

2016-02-07 Thread Haravikk
> On 7 Feb 2016, at 02:50, Tom Johnson wrote: > > I have some users where I'd like to expunge their mail at different times. > > For example, I may have some users who I want to expunge everything from > every folder at 30 days. > > Others where I'd like to expunge

Re: autoexpunge - different settings for different users

2016-02-07 Thread Haravikk
> On 7 Feb 2016, at 10:17, Haravikk wrote: > > >> On 7 Feb 2016, at 02:50, Tom Johnson wrote: >> >> I have some users where I'd like to expunge their mail at different times. >> >> For example, I may have some users who I want to expunge everything

Re: autoexpunge - different settings for different users

2016-02-07 Thread Bill Shirley
If have a Bash script I invoke from cron that iterates thru /home looking for a control file in each users Maildir that looks like this: /home/bill/Maildir/maildir.dovecot.purge.conf #Mailbox : KeepDays # #INBOX

Re: autoexpunge - different settings for different users

2016-02-07 Thread Timo Sirainen
> On 07 Feb 2016, at 04:50, Tom Johnson wrote: > > I have some users where I'd like to expunge their mail at different times. > > For example, I may have some users who I want to expunge everything from > every folder at 30 days. > > Others where I'd like to expunge

Re: autoexpunge - different settings for different users

2016-02-07 Thread Tom Johnson
> On Feb 7, 2016, at 10:59 AM, Timo Sirainen wrote: >> On 07 Feb 2016, at 04:50, Tom Johnson wrote: >> >> I have some users where I'd like to expunge their mail at different times. >> >> >> Is there a way to do some sort of lookup for this? Or is this

autoexpunge - different settings for different users

2016-02-06 Thread Tom Johnson
I have some users where I'd like to expunge their mail at different times. For example, I may have some users who I want to expunge everything from every folder at 30 days. Others where I'd like to expunge everything at 90 days. And still others where I only want to expunge mail from the