[Dovecot] path field in mysql quota

Marshal Newrock marshal at idealso.com
Wed Jan 3 23:01:19 UTC 2007


On Wed, 3 Jan 2007 23:18:22 +0200
Timo Sirainen <tss at iki.fi> wrote:

> On 3.1.2007, at 22.15, Marshal Newrock wrote:
> 
> > What is the path field for in the quota table in mysql?  Is the
> > username not enough information for storing and updating quotas?
> 
> It supports having both "max. number of messages" as well as "max.  
> number of bytes" quotas.

That makes sense.  Thanks.

So, a little more on quotas.  If I'm understanding a previous posting
correctly, to have per-user quotas, I have to return a quota field from
the database in the format specified on
http://wiki.dovecot.org/Quota/Dict.  If I omit "messages=...", then I
assume that it will only apply the storage size quota.

Is there a way to tell the LDA to ignore the quota but update the quota
usage when delivering?  And also to apply quotas to pop/imap.  My goal
is to have postfix reject mail for users who are over quota, but always
deliver once the mail gets to the storage server.  At worst, I can add
a certain amount to the quota in the query.

-- 
Marshal Newrock, Ideal Solution LLC
http://www.idealso.com


More information about the dovecot mailing list