23 Aug
2007
23 Aug
'07
3:28 p.m.
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