[Dovecot] Dict quota question

Antoine Nguyen ngu.antoine at gmail.com
Mon Apr 15 21:18:15 EEST 2013


2013/4/15 Timo Sirainen <tss at iki.fi>

>
> You can't have both static userdb and sql userdb. Create just one sql
> userdb, which returns something like:
>
> select quota_rule, 123 uid, 123 as gid, '/home/%u' as home from
> quota_limits where username = '%u'
>

Ok. I didn't know it was possible to use variables into sql lookup results.
Good to know :)


>
> I don't really understand what sql dict vs maildir backend has to do with
> it. Both of them get the limits from the same quota_rule the same way
> (although with maildir if you don't return a quota_rule, it gets the limits
> from the maildirsize file, maybe you were seeing this).
>

I think you're right, the quota limit should come from the  maildirsize
file.

Thanks for your help !

Antoine


More information about the dovecot mailing list