Applicable to:
- Plesk for Linux
Question
Why is the Domains > example.com > Mail > Mail Accounts mailbox size different than the Subscription > example.com > View more statistics > Mail statistics?
Answer
These are two different types of calculations that are happening:
-
Mailbox size in Plesk > Domains > example.com > Mail > Mail Accounts corresponds to the size of the mailbox of the following directory:
# du -sh --apparent-size /var/qmail/mailnames/example.com
257G /var/qmail/mailnames/example.comMailing lists are not included in
/var/qmail/mailnames/example.com/<mailboxname>/Maildir/maildirsize
:# du -sh --apparent-size /var/lib/mailman/archives/*
907G /var/lib/mailman/archives/private -
The Mail statistics in Plesk > 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) ASmail
, 0 FROMdisk_usage
ASdisk_usage
INNER JOINdomains
ASdomains
ON 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)
This is why there is a different in the size that you see, depending on where you are looking within the Plesk GUI.
Comments
0 comments
Please sign in to leave a comment.