• 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.

plesk and qmail mailbox size

N

nooi

Guest
Hello,

i have the following problem, on Plesk 8.6.0 the mailbox size for one domain is 4.78GB.
After a migration to Ubuntu 8.04 Plesk 9.2.3, Plesk shows the Mailbox Size with only 825MB.
# du -skh /var/qmail/mailnames/alex...de/" shows the correct value with "4.9G /var/qmail/mailnames/alex...de/".

In the Plesk menu under "Include in the calculation of the disk space usage" everything is checked.
I tried "# /usr/local/psa/admin/sbin/statistics", but Plesk shows only 825MB.

Can anybody help me, that Plesk shows the correct qmail mailbox size?
 

Attachments

  • pleskstats.png
    pleskstats.png
    162.9 KB · Views: 9
You shouldn't use du for mailbox size calculation. There is other method in Plesk. If you look at any mail in mailbox you see something like:

/var/qmail/mailnames/tipodomain.com/test/Maildir/cur:
1251835130.M914264P22029V0000000000000036I0000000006761398.plesk92.centos5.plesk.ru,S=1246:2,
1251835165.M901860P24364V0000000000000036I00000000067613A2.plesk92.centos5.plesk.ru,S=424653:2,S

/var/qmail/mailnames/tipodomain.com/test/Maildir/new:
1252260328.M429962P1704V00000000000000CAI000000000676002C.plesk92.centos5.plesk.ru,S=2963

Digit after S= is size of mail which will be calculated by Plesk. So, if any mail have not this S=xxx, size of this mail will not be calculated by Plesk. This parameter is formed by Qmail during mail delivery.
 
Thank you, i have added a new 1kb Mailfile with the attribute S=4gb for the difference.
In the Maildir are some very old mails without S=, but in Plesk 8.6 it was no problem.
The mail@ email-account is correct calculated with 9gb. (old 5gb and 4gb for S=)
But the total size is still unchanged.
 

Attachments

  • Bildschirmfoto 2009-11-19 um 14.37.07.png
    Bildschirmfoto 2009-11-19 um 14.37.07.png
    94.2 KB · Views: 7
Not sure that adding this parameter to file name manually will be enough for correct mail size calculation. It should be done by qmail but not by file renaming.
 
Back
Top