Author Topic: Cpanel Restore - Account Disk Usage not include e-mail after migration  (Read 834 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi, I have a problem with the display of disk usage.
I searched the forum and How To, but I didn't find anything similar.
I'm sorry if the topic is duplicated, if there is a similar one please let me know.

I migrated 10 domains from cpanel to cwp and all files were copied correctly, however for some reason it is not possible to see the disk usage of emails in the total disk usage of these accounts.

Restore mysql - Ok
Restore site - Ok
Restore e-mail files - Ok (validated in webmail)

Rsync e-mails - Ok
Fix e-mail permissions - OK  (I use how to, validated in webmail)

Example individual disk usage:
account_x in /home/ = 50M
account_x domains in /var/vmail/ = 150M
account_x total = 200M

Disk Usage total
account_x in admin list accounts = 50M
account_x in user home panel = 50M

Quotas enabled - Ok (/admin/index.php?module=user_quota)
account_x disk quota = 50M (not include e-mail)

Has anyone had a similar problem? Any suggestions on how to fix it?

I searched the forum in modules and found a module that managed to show me the total disk usage correctly.

Probably related to the poor idea of storing emails in /var/mail, rather than the users' home directories.
I have mentioned in the past that they should be stored in /home/user_name/mail, for example.
Ideally, user databases should also be stored in the user's directory, though that is due to the poor mysql default.
(The only use for the current structure that makes any sense is to store email/database data on another server/disc. Storage location should be an option, for both emails and databases.)

Offline
*
Probably related to the poor idea of storing emails in /var/mail, rather than the users' home directories.
I have mentioned in the past that they should be stored in /home/user_name/mail, for example.
Ideally, user databases should also be stored in the user's directory, though that is due to the poor mysql default.
(The only use for the current structure that makes any sense is to store email/database data on another server/disc. Storage location should be an option, for both emails and databases.)

Is it possible to achieve?