How can we have the quota string that is stored in the db include an S after the value?
IE 10485760S. I keep getting a "WARN: quota string '10240000' not parseable" error from maildrop and most all the how-to have that the quota value end with an S.
You have to add it in the SQL query. Set the MYSQL_QUOTA_FIELD in /etc/authlib/authmysqlrc like this:
My complete authmysqlrc, just in case you have more problems:
# use static UID and GID
Actually I am wondering if it is something that is put in the postfixadmin creat_mailbox.php file since that is what creates the quota value in the db and not the authmysqlrc which only authenticates against the db.
Doing it in authmysqlrc is the right thing[tm] - the quota database field is an int(10) and therefore can't contain the 'S' ;-)
Sidenote: Your maildrop must be built against courier-authlib.
Older maildrop versions came with their own code to access the database - in this case authmysqlrc is indeed the wrong place (and any outdated howto ;-) will tell you how the query must look like).
Log in to post a comment.