[Postfixadmin-devel] quotas and postgresql :(
Brought to you by:
christian_boltz,
gingerdog
|
From: Benny P. <me...@ju...> - 2007-12-09 14:30:16
|
# MySQL, quota in bytes:
user_query = SELECT home, uid, gid, concat('maildir:storage=',
floor(quota/1024)) AS quota FROM users WHERE userid = '%u'
# PostgreSQL, SQLite, quota in kilobytes:
user_query = SELECT home, uid, gid, 'maildir:storage=' || quota_kb AS quota
FROM users WHERE userid = '%u'
i have tested that it works with mysql as is abouce, but i have not got it to
work with postgresql :/
dovecot and postfix admin is not big friends so far on quotas :/
--
|