Renato Otranto Jr. wrote:
Hello,
I´m using a Postfix Server version 2.1.5 and Maildrop 2.0.2 with maildir
quota
extension enabled.
I need to implement quota support on maildrop, so, I writing a
maildroprc file
as showed below:
[snip]
maildrop: authlib: groupid=108
maildrop: authlib: userid=108
maildrop: authlib: logname=user@domain, home=/var/maildirs/domain/user,
mail=(default)
maildrop: Changing to /var/maildirs/domain/user/
Message start at 0 bytes, envelope sender=user@domains
Tokenized string: "MAIL"
[snip]
/etc/courier/maildroprc(6): IF evaluated, result=0
maildrop: Attempting .mailfilter
WARN: quota string '40000000' not parseable
maildrop: Delivery complete.
Anybody knows why the first quota field has an 'S' character, but the
WARN says
the quota value without the 'S' character.
I think that maildrop gets the quota value from authlib, regardless of
any Postfix supplied value. Your quota value as returned by authlib
needs to include the 'S' on the end. If using MySQL for your data, set
the MYSQL_QUOTA_FIELD to be concat(quota,'S') in your authmysqlrc
Hope this helps.