[Dovecot] how to make quota per user ??

ihab ihab_mishriki at hotmail.com
Tue Nov 12 15:47:43 EET 2013


I use dovecot version 1.2.15 and i put quota for all users , now i want to
give more size for some emails , i already added the  quota to user database
, and i added the queries from http://wiki.dovecot.org/Quota/1.1
MySQL:
user_query = select uid, gid, home, \
  concat('*:bytes=', quota_bytes) as quota_rule \
  from users where userid = '%u'

# MySQL with userdb prefetch: Remember to prefix quota_rule with userdb_
# (just like all other userdb extra fields):
password_query = select userid as user, password, \
  uid as userdb_uid, gid as userdb_gid, \
  concat('*:bytes=', quota_bytes) as userdb_quota_rule \
  from users where userid = '%u'

but it is not work 
what i have to change and in which  files please ?



--
View this message in context: http://dovecot.2317879.n4.nabble.com/how-to-make-quota-per-user-tp45335.html
Sent from the Dovecot mailing list archive at Nabble.com.


More information about the dovecot mailing list