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 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/20190811/07f49a1c/attachment.html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 11/08/2019 22:39 Paul Macdonald via dovecot <dovecot@dovecot.org>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<p><br></p>
<p><span style="font-family: Helvetica, Arial,
sans-serif;">Hi, <br></span></p>
<p><span style="font-family: Helvetica, Arial,
sans-serif;">i want to keep track of user mailbox
size,<br></span></p>
<pre>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.
</pre>
<pre class="moz-signature">--
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: <a href="mailto:paul@ifdnrg.com"
class="moz-txt-link-abbreviated">paul@ifdnrg.com</a>
w: <a href="http://www.ifdnrg.com"
class="moz-txt-link-freetext">http://www.ifdnrg.com</a>
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
----------------------------------------------------
Virtual Servers from £50.00pm
High specification Dedicated Servers from £150.00pm
----------------------------------------------------</pre>
</blockquote>
<div>
something like this maybe?
</div>
<div>
<br>
</div>
<div>
###
</div>
<div>
mail_plugins = $mail_plugins quota
</div>
<div>
<br>
</div>
<div>
plugin {
</div>
<div>
quota = count
</div>
<div>
quota_vsizes = yes
</div>
<div>
}
</div>
<div>
###
</div>
<div>
<br>
</div>
<div>
doveadm quota get -u victim
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>
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 Tuomiperfect,? 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>