On Sat, 2008-11-15 at 17:09 +0800, [EMAIL PROTECTED] wrote:
>   passdb:
>     driver: sql
>     args: /usr/local/etc/dovecot-sql.conf

You're using SQL as passdb.

>   userdb:
>     driver: passwd
>   userdb:
>     driver: static
>     args: uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes

But for userdb you're using /etc/passwd and static as a fallback. So
this never gets called:

> user_query = select 5000 as uid, 5000 as gid, '/home/vmail/%d/%n' as home, \
>   concat('*:bytes=', quota_bytes) as quota_rule \
>   from email_quota where email = '%u'

You should probably remove userdb passwd, userdb static and add userdb sql.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to