Patrick McLean
2011-Apr-04 15:56 UTC
[Dovecot] doveadm mailbox status - getting the size in bytes
Hi, doveadm has an option to get the "vsize" of mailboxes, which is calculated by counting the number of linefeeds, but there does not appear to be way to simply get the size in bytes of a mailbox. I was wondering if there is something I am missing (I am using mdbox), or if not is it possible to implement this. Thanks
Timo Sirainen
2011-Apr-04 16:02 UTC
[Dovecot] doveadm mailbox status - getting the size in bytes
On Mon, 2011-04-04 at 11:56 -0400, Patrick McLean wrote:> Hi, > > doveadm has an option to get the "vsize" of mailboxes, which is > calculated by counting the number of linefeeds,Not number of linefeeds. It's the mail sizes as visible to IMAP and POP3 clients. vsize as in "virtual size". The opposite being "physical size" which is how many bytes it physically contains on disk.> but there does not > appear to be way to simply get the size in bytes of a mailbox. I was > wondering if there is something I am missing (I am using mdbox), or if > not is it possible to implement this.With mdbox even the physical size is somewhat pointless since it doesn't include the size of the metadata content. Also in mdbox expunged messages use up space until purge is run.
Seemingly Similar Threads
- Panic when runing "doveadm mailbox status ... vsize"
- mail_log plugin updates
- Problem with 'doveadm mailbox status -t' reporting cumulative vsizes after upgrading from v2.0.16 to v2.1.7
- Mailbox suddenly inaccessible
- 2.2.26.0 : accessing "mdbox_deleted" content destroys indexes