16 Mar
2011
16 Mar
'11
6:26 p.m.
On Wed, 2011-03-16 at 11:38 +0100, iti@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).