doveadm / vsize

Paul Macdonald paul at ifdnrg.com
Thu Aug 15 16:32:32 EEST 2019


On 12/08/2019 05:23, Aki Tuomi via dovecot wrote:
>
>> On 11/08/2019 22:39 Paul Macdonald via dovecot <dovecot at dovecot.org> 
>> wrote:
>>
>>
>>
>> Hi,
>>
>> i want to keep track of user mailbox size,
>>
>> I'm using
>>   doveadm mailbox status -u <user> vsize INBOX
>>
>> for a given mailbox this is under reporting ( by a lot)
>>   
>> is this recursive? what shoud i be using to get an accurate disk usage metric?
>>
>>
>> thanks
>> Paul.
>>
> something like this maybe?
>
> ###
> mail_plugins = $mail_plugins quota
>
> plugin {
>   quota = count
>   quota_vsizes = yes
> }
> ###
>
> doveadm quota get -u victim
> ---
> Aki Tuomi


perfect,  thanks

Paul



-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: paul at ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
----------------------------------------------------

Virtual Servers from £50.00pm
High specification Dedicated Servers from £150.00pm

----------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190815/22755172/attachment.html>


More information about the dovecot mailing list