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.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to