[Dovecot] Override Quota with post-login scripting problem
Timo Sirainen
tss at iki.fi
Mon Nov 23 19:06:37 EET 2009
On Tue, 2009-11-10 at 12:10 +0100, Yorck Koehler wrote:
> I changed in my Postfix configuration from
> /usr/local/libexec/dovecot/deliver to /usr/local/bin/deliver.sh and
> created the following file (deliver.sh):
> #!/bin/sh
>
> QUOTA_RULE='*:storage=500M'
I think this should have actually been:
export QUOTA_RULE='*:storage=500M'
> exec /usr/local/libexec/dovecot/deliver -k
But yeah, quota_rule from dovecot.conf overwrites the environment. But
you could remove it from dovecot.conf and just make sure the default
always gets set by post-login script or deliver.sh.
> I'm using Dovecot 1.2.7 since this morning (Nice work, btw.). I read in
> the source code (deliver.c) and found out that env_clean (-k) only
> changes the TZ/Home, if necessary.
-k disables env_clean.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091123/99252bd1/attachment-0001.bin
More information about the dovecot
mailing list