[Dovecot] [PATCH] Deliver doesn't enforce userdb quotas
Sergio Lopez
sergio.lopez at nologin.es
Thu Aug 23 15:28:21 EEST 2007
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 at nologin.es>
Nologin Consulting S.L. - http://nologin.es
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-1.0.3-quotadb.patch
Type: text/x-patch
Size: 862 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070823/0edf453f/attachment.bin
More information about the dovecot
mailing list