Miguel_Tellería
Basic Pleskian
Plesk 12.0.18 on Centos 6.6.
Dear all,
In order to do automate some statistics i would like to have a quick way to see the size the mailboxes.
I know that I could execute a du -shc under /var/qmail/mailnames/<domain>/<mailbox> but for large mailboxes it will take a lot of time.
On the other hand Plesk reports mailbox sizes and occupation very fast (although not always up to date as I have noticed). This is the data that I would like to fetch which is good enough for my purposes.
I have tried the output of /usr/local/psa/bin/mail --info but it doesn't have that value. Is there another way to obtain it?
Regards,
Miguel Telleria
Dear all,
In order to do automate some statistics i would like to have a quick way to see the size the mailboxes.
I know that I could execute a du -shc under /var/qmail/mailnames/<domain>/<mailbox> but for large mailboxes it will take a lot of time.
On the other hand Plesk reports mailbox sizes and occupation very fast (although not always up to date as I have noticed). This is the data that I would like to fetch which is good enough for my purposes.
I have tried the output of /usr/local/psa/bin/mail --info but it doesn't have that value. Is there another way to obtain it?
Regards,
Miguel Telleria