[Dovecot] passing quota to deliver via command line

Timo Sirainen tss at iki.fi
Sun Sep 9 04:43:41 EEST 2007


On Tue, 2007-09-04 at 08:24 -0700, WJCarpenter wrote:
> Is there any way to pass things like "quota=" for the quota plugin to
> the deliver LDA via the command line or as an environment variable or
> whatever?  I've got all the info I need in my MTA to avoid a userdb
> lookup in the LDA, but I still have to do the userdb query to get the
> per-user quota number (the default quota works fine, of course).

You can pass it in QUOTA environment, which behaves exactly as quota=
setting.

With v1.1 you'll need to give -k parameter so that it doesn't clean the
environment (added just now).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070909/614d72f5/attachment.bin 


More information about the dovecot mailing list