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/Variables