Re: Implementing secondary quota w/ "Archive" namespace

2016-12-01 Thread Mark Moseley
On Thu, Dec 1, 2016 at 4:37 AM, Timo Sirainen wrote: > On 1 Dec 2016, at 2.22, Mark Moseley wrote: > > > How about this updated patch? > > > Nope, still lets me move messages into the over-quota namespace. > > Both these are true in quota_check: > >

Re: Implementing secondary quota w/ "Archive" namespace

2016-12-01 Thread Timo Sirainen
On 1 Dec 2016, at 2.22, Mark Moseley wrote: > >>> How about this updated patch? >>> >>> >> Nope, still lets me move messages into the over-quota namespace. >> >> Both these are true in quota_check: >> >> ctx->moving >> quota_move_requires_check .. > Anything else I can

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-30 Thread Mark Moseley
On Thu, Nov 24, 2016 at 9:10 PM, Mark Moseley wrote: > On Thu, Nov 24, 2016 at 10:52 AM, Timo Sirainen wrote: > >> On 24 Nov 2016, at 9.33, Mark Moseley wrote: >> > >> > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-24 Thread Mark Moseley
On Thu, Nov 24, 2016 at 10:52 AM, Timo Sirainen wrote: > On 24 Nov 2016, at 9.33, Mark Moseley wrote: > > > > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen wrote: > > > >> On 23 Nov 2016, at 0.49, Mark Moseley wrote: >

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-24 Thread Timo Sirainen
On 24 Nov 2016, at 9.33, Mark Moseley wrote: > > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen wrote: > >> On 23 Nov 2016, at 0.49, Mark Moseley wrote: >>> >>> If I move messages between namespaces, it appears to ignore the quotas

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-23 Thread Mark Moseley
On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen wrote: > On 23 Nov 2016, at 0.49, Mark Moseley wrote: > > > > If I move messages between namespaces, it appears to ignore the quotas > I've > > set on them. A *copy* will trigger the quota error. But a *move*

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-23 Thread Timo Sirainen
On 23 Nov 2016, at 0.49, Mark Moseley wrote: > > If I move messages between namespaces, it appears to ignore the quotas I've > set on them. A *copy* will trigger the quota error. But a *move* just > happily piles on to the overquota namespace. Is that normal? Probably

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-22 Thread Mark Moseley
On Mon, Nov 21, 2016 at 6:20 PM, Fred Turner wrote: > Yeah, I gradually figured out it wouldn't work yesterday when delving back > into this and testing. No separate quotas per namespaces until 2.1 or > something, I think? > > So, got any suggestions on getting it to work

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-22 Thread Fred Turner
Sorry, but that is not correct. 10.7 Lion was not released until July 2011. Mac Pro 2010 would obviously not have included it, but rather 10.6 Snow Leopard. And again, there is negligible difference between 2009-2010-2012 Mac Pros, such that they all will likely run anything from 10.5 onward

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-22 Thread @lbutlr
On Nov 21, 2016, at 7:34 PM, Fred Turner wrote: > Lol, may actually be a 2010...which is essentially no different than a 2012. > Mac OS X 10.6.8 would work just fine on that hardware. And probably 10.5.8 as > well! It is generally not possible o install an older OS on a

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread Fred Turner
Lol, may actually be a 2010...which is essentially no different than a 2012. Mac OS X 10.6.8 would work just fine on that hardware. And probably 10.5.8 as well! FT > On Nov 21, 2016, at 19:22, @lbutlr wrote: > > On Nov 20, 2016, at 4:28 PM, Fred Turner

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread Fred Turner
Yeah, I gradually figured out it wouldn't work yesterday when delving back into this and testing. No separate quotas per namespaces until 2.1 or something, I think? So, got any suggestions on getting it to work with v2.x? I found an old thread from 2013 by Andreas (I think?) and he didn't seem

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread @lbutlr
On Nov 20, 2016, at 4:28 PM, Fred Turner wrote: >> Mac Pro Server 2012 >> Mac OS X Server 10.6.8 >> Dovecot 1.1.20apple0.5 The 2012 Mac Pro Server shipped with 10.7.3. Did you seriously hack 10.6.8 onto it?

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread Timo Sirainen
On 20 Sep 2016, at 21.28, Fred Turner wrote: > > Mac Pro Server 2012 > Mac OS X Server 10.6.8 > Dovecot 1.1.20apple0.5 That's an old one.. > quota = maildir:User quota:ns= > > quota2 = maildir:ns=testArchive/ > quota2_rule = *:storage=20G > > The first line is already

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread Mark Moseley
On Sun, Nov 20, 2016 at 3:28 PM, Fred Turner wrote: > Hey Everybody— > > Posted this to the list a couple of months ago, but didn’t get any > responses. Is there a better place to ask this question about quota & > namespace configuration? Seems like a lot of the discussion

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-20 Thread Fred Turner
Hey Everybody— Posted this to the list a couple of months ago, but didn’t get any responses. Is there a better place to ask this question about quota & namespace configuration? Seems like a lot of the discussion here is a little deeper/lower-level than my configuration question, like debugging

Implementing secondary quota w/ "Archive" namespace

2016-09-20 Thread Fred Turner
Hello folks— My first post, so please be gentle… :-) I have a client email server using SSDs for primary user mailboxes, but since the number of users keeps growing and they all seem to be very reluctant to delete anything, I’ve implemented an “Archive” namespace that stores its mailboxes on