7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildroprc and Quota
FromSent OnAttachments
Renato Otranto Jr.Oct 9, 2006 12:05 pm 
Barry FlanaganOct 9, 2006 2:47 pm 
Renato Otranto Jr.Oct 10, 2006 2:00 pm 
Barry FlanaganOct 10, 2006 2:25 pm 
Renato Otranto Jr.Oct 10, 2006 2:44 pm 
Sam VarshavchikOct 10, 2006 3:40 pm 
Barry FlanaganOct 11, 2006 3:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Maildroprc and QuotaActions...
From:Barry Flanagan (barr@flanagan.ie)
Date:Oct 9, 2006 2:47:45 pm
List:net.sourceforge.lists.courier-maildrop

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.