[Dovecot] [PATCH] Deliver doesn't enforce userdb quotas
Hello all,
While configuring the latest stable version of Dovecot (1.0.3), I've noticed that "deliver" always uses the quota arguments found in the configuration file, completely ignoring what userdb sends to it through the authentication service. This doesn't happen in the previous version I was used (1.0.rc15, comes with Debian "etch").
After digging a little into the code, I've found that "expand_envs" is being called after "auth_client_put_user_env", thus clobbering the "QUOTA" environment variable.
The attached patch changes "expand_envs" to avoid setting "QUOTA" if it has been exported before.
Thanks!
-- Sergio López - sergio.lopez@nologin.es Nologin Consulting S.L. - http://nologin.es
On Thu, 2007-08-23 at 14:28 +0200, Sergio Lopez wrote:
While configuring the latest stable version of Dovecot (1.0.3), I've noticed that "deliver" always uses the quota arguments found in the configuration file, completely ignoring what userdb sends to it through the authentication service. This doesn't happen in the previous version I was used (1.0.rc15, comes with Debian "etch").
Unless you really need default quota, there's no need to have quota defined in plugin section.
Anyway, I fixed this now properly for everything: http://hg.dovecot.org/dovecot-1.0/rev/bc2b06d0fba6
I guess it's time for v1.0.4 soon.
participants (2)
-
Sergio Lopez
-
Timo Sirainen