Reading Mailbox Size

Discussion in 'Installation/Configuration' started by badboyj, Mar 15, 2011.

  1. badboyj

    badboyj New Member

    Hi there,

    How does one check the mailbox space being used for email accounts? The ISPConfig control panel shows email traffic but not how much space a mailbox is currently using. Am I right in assuming that the file "maildirsize" contains the mailbox usage? If so, do I have to read it manually or should ISPConfig be integrating it into the control panel somehow?

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No. This file contains the mailbox quota limit, not the current size.
     
  3. badboyj

    badboyj New Member

    So then how do I find out the current mailbox size?

    Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The mailbox size is not stored anywhere. Most email clients are able to show the mailbox size when you connect with imap, as the size is calculated by the imap server (dovecot or courier). Or you use the Linux shell command "du" to calculate the directory size of the maildir.
     

Share This Page