Re: [Dovecot] Managesieve Quota

2008-09-30 Thread Stephan Bosch
Timo Sirainen wrote: > On Tue, 2008-09-30 at 10:47 -0700, Seth Mattinen wrote: > >> Timo Sirainen wrote: >> >>> Maybe I'm overthinking the problem. There probably won't be more than a >>> few scripts. It's probably simplest if the quota is always just >>> recalculated by lstat()ing the file

Re: [Dovecot] Managesieve Quota

2008-09-30 Thread Timo Sirainen
On Tue, 2008-09-30 at 10:47 -0700, Seth Mattinen wrote: > Timo Sirainen wrote: > > Maybe I'm overthinking the problem. There probably won't be more than a > > few scripts. It's probably simplest if the quota is always just > > recalculated by lstat()ing the files. > > > Pretty much what I was thi

Re: [Dovecot] Managesieve Quota

2008-09-30 Thread Seth Mattinen
Timo Sirainen wrote: > Maybe I'm overthinking the problem. There probably won't be more than a > few scripts. It's probably simplest if the quota is always just > recalculated by lstat()ing the files. Pretty much what I was thinking about doing. Calculate total size of the sieve scripts and compa

Re: [Dovecot] Managesieve Quota

2008-09-30 Thread Timo Sirainen
On Mon, 2008-09-29 at 10:01 -0700, Seth Mattinen wrote: > Timo Sirainen wrote: > > On Thu, 2008-09-25 at 09:40 -0700, Seth Mattinen wrote: > >> Has anyone (is anyone) working on adding quota support to dovecot's > >> managesieve server? I was thinking about giving it a shot myself and I'd > >> hate

Re: [Dovecot] Managesieve Quota

2008-09-29 Thread Seth Mattinen
Timo Sirainen wrote: > On Thu, 2008-09-25 at 09:40 -0700, Seth Mattinen wrote: >> Has anyone (is anyone) working on adding quota support to dovecot's >> managesieve server? I was thinking about giving it a shot myself and I'd >> hate to duplicate work. It would be something very basic like a max >>

Re: [Dovecot] Managesieve Quota

2008-09-29 Thread Timo Sirainen
On Thu, 2008-09-25 at 09:40 -0700, Seth Mattinen wrote: > Has anyone (is anyone) working on adding quota support to dovecot's > managesieve server? I was thinking about giving it a shot myself and I'd > hate to duplicate work. It would be something very basic like a max > bytes setting and the tota

Re: [Dovecot] Managesieve Quota

2008-09-29 Thread Stephan Bosch
Seth Mattinen schreef: Has anyone (is anyone) working on adding quota support to dovecot's managesieve server? I was thinking about giving it a shot myself and I'd hate to duplicate work. It would be something very basic like a max bytes setting and the total sieve storage per user isn't allowed

[Dovecot] Managesieve Quota

2008-09-25 Thread Seth Mattinen
Has anyone (is anyone) working on adding quota support to dovecot's managesieve server? I was thinking about giving it a shot myself and I'd hate to duplicate work. It would be something very basic like a max bytes setting and the total sieve storage per user isn't allowed to exceed it. ~Seth