[Dovecot] For Configuration Help: per-user quota for virtual users.
tss at iki.fi
Fri Nov 21 22:44:55 EET 2008
On Sat, 2008-11-15 at 17:09 +0800, sales at 100n.org wrote:
> driver: sql
> args: /usr/local/etc/dovecot-sql.conf
You're using SQL as passdb.
> driver: passwd
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081121/f29bdd0d/attachment.bin
More information about the dovecot