• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Disk space miscalculation after an e-mail address is changed from local mailbox to forward only

Bitpalast

Plesk addicted!
Plesk Guru
TITLE:
Disk space miscalculation after an e-mail address is changed from local mailbox to forward only
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Onyx 17.5, latest MU, Centos 7.3
PROBLEM DESCRIPTION:
A customer has a subscription that is only used for a single e-mail address. He first set-up the address to do two things: 1) forward all incoming mail to an external address, 2) store all incoming mail to the local mailbox.

Then he deleted the setting that all incoming mail is stored in a local mailbox.

The statistics recalculation however still takes the "old" mailbox size into account, despite that there is apparently no such mailbox left on the server. Only after deleting the e-mail address and re-creating it statistics re-calculate the subscription size correctly.​
STEPS TO REPRODUCE:
1) Create an e-mail address with a local mailbox storage and a forward to an external address.
2) Send that box some large mails.
3) Run statistics manually.
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>
This will give you the correct size of the subscription.
4) In the e-mail address uncheck the "mailbox" option so that only the external fowarding remains.
5) Run statistics manually, again.
This will still give you the size including the mail corpus that should have been deleted by removing the mailbox. Re-run statistics as often as you like, it will not remove the previous mailbox size from calculation.​
ACTUAL RESULT:
Wrong total size calculation that includes the size of the deleted mailbox.​
EXPECTED RESULT:
Correct total size calculation that is no longer adding the size of the mailbox that no longer exists.​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
From developer:

The unchecked mailbox support does not remove the existent maildir++ directory. As result, the statistics utility calculates mailbox dir size. And as far as I see it is the correct behaviour.

1. Disable mailbox support.
2. Check mailbox directory:
[root@a10-52-38-233 psa-roundcube]# du -sh /var/qmail/mailnames/a10-52-38-233.qa.plesk.ru/
176K /var/qmail/mailnames/a10-52-38-233.qa.plesk.ru/

WORKAROUND:
Cleanup mailbox before this one will be disabled.
 
Yes, o.k., but it cannot be a correct behavior, because with this argumentation it means that a mailbox content remains on server forever, if a mailbox is disabled. Why should the content stay on the server if a mailbox is disabled? Just asking. Not a big problem, but I'd think that when someone shuts a mailbox off, the content of that mailbox is removed, too.
 
Why should the content stay on the server if a mailbox is disabled? Just asking. Not a big problem, but I'd think that when someone shuts a mailbox off, the content of that mailbox is removed, too.
Peter, I would call it a "political decision". I think this can be formalized as a feature request on UserVoice for further consideration not by developers, but by Program Managers.
 
Back
Top