[Dovecot] vpopmail quota

Timo Sirainen tss at iki.fi
Tue Jun 12 19:19:58 EEST 2007


On Tue, 2007-06-12 at 14:58 +0200, Onno Molenkamp wrote:
> Op dinsdag 12 juni 2007 schreef Timo Sirainen:
> > Is the quota existing in pw_shell a standard vpopmail thing? Is it there
> > in bytes, kilobytes or what? I could change the code for v1.0.1 to
> > export the quota in some way if there's a standard.
> 
> It contains "NOQUOTA" or a Maildir++ quota definition, with the addition of 
> support for suffixes like K and M in the numbers. By passing the raw pw_shell 
> value to the vpopmail format_maildirquota function, you'll always either get 
> a valid Maildir++ quota definition, "NOQUOTA", or "" in case the value in 
> pw_shell is invalid.
> 
> It would be great if support for this could be included in 1.0.1!

Sorry, looks like it was too large change for v1.0.x. In v1.1 you'll be
able to do this:

userdb vpopmail {
  args = quota_template=quota_rule=*:backend=%q
}

For v1.0.x you'll just have to hack the code in some way.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070612/7a9c691a/attachment.bin 


More information about the dovecot mailing list