[Dovecot] dovecot 1.2 quota with local users

Timo Sirainen tss at iki.fi
Wed Mar 16 18:26:48 EET 2011


On Wed, 2011-03-16 at 11:38 +0100, iti at promax.media.pl wrote:
> I got problem with setting quota from mysql for local users. In database
> are only information with quota. Password are store in passwd/shadow.

You mean you only want quota limits to be listed in SQL, right? Then you
don't need to use dict quota at all (or especially not sql dict).

So what you need to use is passdb pam and userdb sql. In userdb sql you
need to specify the user_query. You didn't give much information about
your current setup that I'd assume is already working without working
quota. http://wiki2.dovecot.org/AuthDatabase/SQL anyway has information
about user_query (you can ignore the password_query).




More information about the dovecot mailing list