[Dovecot] Quota plugin and SQL

Timo Sirainen tss at iki.fi
Tue Mar 16 16:33:44 EET 2010


On Sun, 2010-03-07 at 14:49 +0100, Pascal Volk wrote:
> On 03/07/2010 01:53 PM Pascal Volk wrote:
> > 	map {
> > 	  pattern = priv/quota/storage
> > 	  table = quota
> > 	  username_field = uid
> > 	  username_var = %{uid}
> > 	  value_field = bytes
> > 	}
> 
> BTW: This also would make it possible to have 'domain quota' (only),
> when the 'username_var' is set to %L{domain}. That was asked in #dovecot
> some times.

It's already possible to do domain quota. And actually that's how it's
also possible to do %{uid} type of quota:

quota = dict:user:%{uid}:proxy::quota

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


More information about the dovecot mailing list