Username:
TITLE
Mailbox size calculated wrong
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk: Plesk Obsidian 18.0.76 Update 4 - Web Host Edition
OS (lsb_release -d): Description: Ubuntu 20.04.6 LTS
PROBLEM DESCRIPTION
The calculation of the mailboxes size is calculated wrong. Plesk shows me 5.93 GB (value in table psa.disk_usage, column mailboxes is 6370893824). But size on disk (du -sh --apparent-size /var/qmail/mailnames/<domain>/) is
2.6G /var/qmail/mailnames/<domain>/. I have no mailinglists active (is also 0 in column maillists).
STEPS TO REPRODUCE
# plesk repair mail
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
# plesk repair installation -y
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
# plesk repair mail <mail@domain> (for all the mailboxes of the domain)
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
# rm ./*/Maildir/maildirsize
# doveadm quota recalc -u <mail@domain> (for all the mailboxes of the domain)
# doveadm quota get -u mail@domain (these values are correct!)
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
ACTUAL RESULT
The value is calculated wrong. Since ~3 weeks(?)
EXPECTED RESULT
Value in table psa.disk_usage for the table musst be the same (or nearly the same) like du -sh --apparent-size /var/qmail/mailnames/<domain>/
ANY ADDITIONAL INFORMATION
I'm a skilled it nerd, so don't hesitate to ask me any further questions if you need more information
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Mailbox size calculated wrong
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk: Plesk Obsidian 18.0.76 Update 4 - Web Host Edition
OS (lsb_release -d): Description: Ubuntu 20.04.6 LTS
PROBLEM DESCRIPTION
The calculation of the mailboxes size is calculated wrong. Plesk shows me 5.93 GB (value in table psa.disk_usage, column mailboxes is 6370893824). But size on disk (du -sh --apparent-size /var/qmail/mailnames/<domain>/) is
2.6G /var/qmail/mailnames/<domain>/. I have no mailinglists active (is also 0 in column maillists).
STEPS TO REPRODUCE
# plesk repair mail
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
# plesk repair installation -y
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
# plesk repair mail <mail@domain> (for all the mailboxes of the domain)
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
# rm ./*/Maildir/maildirsize
# doveadm quota recalc -u <mail@domain> (for all the mailboxes of the domain)
# doveadm quota get -u mail@domain (these values are correct!)
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
Value in table psa.disk_usage, column mailboxes is wrong (also at Plesk panel).
ACTUAL RESULT
The value is calculated wrong. Since ~3 weeks(?)
EXPECTED RESULT
Value in table psa.disk_usage for the table musst be the same (or nearly the same) like du -sh --apparent-size /var/qmail/mailnames/<domain>/
ANY ADDITIONAL INFORMATION
I'm a skilled it nerd, so don't hesitate to ask me any further questions if you need more information
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
Last edited by a moderator: