On 11/08/2019 22:39 Paul Macdonald via dovecot <dovecot@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.


-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: paul@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

----------------------------------------------------
something like this maybe?

###
mail_plugins = $mail_plugins quota

plugin {
  quota = count
  quota_vsizes = yes
}
###

doveadm quota get -u victim
---
Aki Tuomi