[Dovecot] problem about mbox with quota

Zhang Huangbin zhbmaillistonly at gmail.com
Sun May 18 16:47:12 EEST 2008


Hi, Timo.

Timo Sirainen wrote:
> 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)
>

Thanks very much. :)

I think we should add this tip in wiki page:
http://wiki.dovecot.org/Quota
OR
http://wiki.dovecot.org/MailLocation/Mbox

-- 
Best Regards.

Zhang Huangbin

- OpenBSD 4.2 -release, i386.
- RHEL 5.1 Client




More information about the dovecot mailing list