- Plesk Onyx for Linux
Why is the Domains > example.com > Mail addresses mailbox size different than the Subscription > example.com > View more statistics > Mail statistics?
These are 2 different types of calculation:
Mailbox size in Domains > example.com > Mail addresses corresponds to the size of the mailbox of the following directory.
# du -sh /var/qmail/mailnames/example.com
Mailing lists are not included in
# du -sh /var/lib/mailman/archives/*
The Mail statistics in Subscription > example.com > View more statistics is a sum of the mailboxes + the mail lists. This value can be verified in bytes with the following query for subscription example.com:
# plesk db
MariaDB [psa]> SELECT SUM(mailboxes) + SUM(maillists) AS
domainsON domains.id = disk_usage.dom_id WHERE (dom_id =(select id from domains where name="example.com"));
| mail | 0 |
| 12288 | 0 |
1 row in set (0.00 sec)