Re: [Dovecot] RFC: Different quota for dovecot and deliver

2009-07-19 Thread Seth Mattinen
Philipp Marek wrote: > Hello Timo! > > On Montag, 20. Juli 2009, Timo Sirainen wrote: >> On Jul 20, 2009, at 1:56 AM, Philipp Marek wrote: >>> Are placeholders like "%s", "%n" etc. listed anywhere? >> http://wiki.dovecot.org/Variables > Thank you very much for your quick answer! > > BTW: Google g

Re: [Dovecot] RFC: Different quota for dovecot and deliver

2009-07-19 Thread Philipp Marek
Hello Timo! On Montag, 20. Juli 2009, Timo Sirainen wrote: > On Jul 20, 2009, at 1:56 AM, Philipp Marek wrote: > > Are placeholders like "%s", "%n" etc. listed anywhere? > > http://wiki.dovecot.org/Variables Thank you very much for your quick answer! BTW: Google gives Your search - link:h

Re: [Dovecot] RFC: Different quota for dovecot and deliver

2009-07-19 Thread Timo Sirainen
On Jul 20, 2009, at 1:56 AM, Philipp Marek wrote: user_query = select .., \ '*:' || (case '%s' when 'deliver' then (quota+20*1024) else quota)) as quota_rule, .. That would be perfect ... I'll take a look. Are placeholders like "%s", "%n" etc. listed anywhere? http://wiki.dovecot.org/Var

Re: [Dovecot] RFC: Different quota for dovecot and deliver

2009-07-19 Thread Philipp Marek
Hello Timo, thank you very much for your answer. On Freitag, 17. Juli 2009, Timo Sirainen wrote: > On Fri, 2009-07-17 at 10:51 +0200, Philipp Marek wrote: > > What I'd like to achieve is that postfix uses the trigger value from the > > Database as well, but that deliver allows a small bit more -

Re: [Dovecot] RFC: Different quota for dovecot and deliver

2009-07-17 Thread Timo Sirainen
On Fri, 2009-07-17 at 10:51 +0200, Philipp Marek wrote: > What I'd like to achieve is that postfix uses the trigger value from the > Database as well, but that deliver allows a small bit more - say 5, 10, or > 20MB. Actually there shouldn't be a need to patch Dovecot to get this. You could just

Re: [Dovecot] RFC: Different quota for dovecot and deliver

2009-07-17 Thread Philipp Marek
On Freitag, 17. Juli 2009, Philipp Marek wrote: > So I looked into the sources, and came up with the attached (untested, not > even compiled) patch against 1.2.1. ... > I've now looked into the sources, and tried to sketch the basic change that > I imagine; please see the attached patch. The newer

[Dovecot] RFC: Different quota for dovecot and deliver

2009-07-17 Thread Philipp Marek
Hello everybody, I've been with this question in IRC the last days, but no solution was found. So I looked into the sources, and came up with the attached (untested, not even compiled) patch against 1.2.1. Rationale --- I'd like to bounce on the external side, which is quite easy if