[Dovecot] Quota monitoring

Hugo Monteiro hugo.monteiro at fct.unl.pt
Thu Apr 22 14:39:03 EEST 2010


On 04/22/2010 12:02 PM, Vlamsdoem wrote:
> On 22/04/10 10:57, Steffen Kaiser wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Wed, 21 Apr 2010, Vlamsdoem wrote:
>>
>>> No only the maximum quota for each user.
>>
>> So, where are your current quota values located?
>>
>> There had been mentioned to use SQL, where you can easily get your 
>> quota via SQL.
>>
>> Regards,
>>
>> - -- Steffen Kaiser
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>>
>> iQEVAwUBS9APgb+Vh58GPL/cAQLsMwf8DxGNpPf5/tup6S+QQsVAOBOtgveKGXno
>> 19MYefBMK1OJVzurf6DpFXDW8KkpXTkcX5nGVhpFKexytMyNF4qnRWM6JtIld+8F
>> hJaIcdeH/TL6l1pS3veydF8J8C67RbudcgY441bn4dv6TuIl/pcoJadij7mwiVSP
>> oHKPgXJP5nqkgqmW7tFogeSNpCuOlK/7YX2N/PDArIZgw08V/TsnZjTVOzNkp6u8
>> p1iLvI0MplJUXD9iThDhe4qwERfydgUslfEDpO1lOIYqVHKPqv9Q4HQx+Q0ZpEwD
>> ooqyJUPpk7TTIdzbCQ65kqAnYAE9SrALsOz6uXzsrKKaRqghBrlcow==
>> =Owfw
>> -----END PGP SIGNATURE-----
>>
> The current values of the quota is located in the maildirsize file in 
> each user mailbox directory.
> I can do a script to parse every maildirsize file but I don't 
> understand the format of this file.
> I read in the documentation that the first line is the maximum storage 
> limit in bytes, but I don't know what the other lines means.
> Here is an example of a maildirsize file:
>
> 1024000000S
> 24140481 824
> 2580 1
> 655 1
> 975 1
> 975 1
> 975 1
> 975 1
> 1434 1
> 610 1
> 3577 1
>
>
> Regards,
>

http://www.courier-mta.org/imap/README.maildirquota.html

Regards,

Hugo Monteiro.

-- 
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : hugo.monteiro at fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                apoio at fct.unl.pt

fct.unl.pt:~# _



More information about the dovecot mailing list