[Postfixadmin-devel] Message count quotas
Brought to you by:
christian_boltz,
gingerdog
|
From: Robert M. <rg...@ht...> - 2015-02-09 23:20:54
|
I am running postfixadmin 2.91
I just got hit with the message count quota in dovecot:
driver = mysql
connect = host=localhost dbname=postfix user=postfix password=*******
default_pass_scheme = MD5-CRYPT
password_query = SELECT username as user, password,
concat('/home/vmail/', maildir) as userdb_home,
concat('maildir:/home/vmail/', maildir) as userdb_mail, 101 as
userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = '%u' AND
active = '1'
user_query = SELECT concat('/home/vmail/', maildir) as home,
concat('maildir:/home/vmail/', maildir) as mail, 101 AS uid, 12 AS gid,
CONCAT('*:messages=10000:bytes=', quota) as quota_rule FROM mailbox
WHERE username = '%u' AND active = '1'
Note that messages=10000 is hard coded, where as bytes is pulled out of
the postfixadmin database.
Has this been added since 2.91? If not could it be? I upped my message
limit to 30000...
|