[Dovecot] problem about mbox with quota

Timo Sirainen tss at iki.fi
Sun May 18 16:38:34 EEST 2008


On May 18, 2008, at 5:13 AM, Zhang Huangbin wrote:

> Hi, all.
>
> Does mbox format support quota?

dirsize backend should work pretty well.

> dovecot: May 18 02:10:36 Error: POP3(www at a.cn): Unknown quota  
> backend: storage=10240

You need to select the backend.

> user_query = SELECT 2000 AS uid, 2000 AS gid, "/home/vmail" AS home,  
> maildir, CONCAT('storage=',quota) AS quota FROM mailbox WHERE  
> username='%u' AND active='1'

CONCAT('dirsize:storage=',quota)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080518/130d9526/attachment.bin 


More information about the dovecot mailing list