mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #282] mailbox.cli-get-sizes [Unknown Mail Size] #229
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#229
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jdsampayo on GitHub (Jun 14, 2021).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/282
Problem
I turned on the mail size:
on
/usr/local/vimbadmin/application/configs/application.inibut was not getting any size on the frontend:Debug
Then executed manually:
Added an echo for the unknown on:
And got that
getCleanedMaildir()was returning:/srv/vmail/mydomain.com/user/mailI checked
/etc/dovecot/conf.d/10-mail.confand got:My email dir is:
/var/vmail/mydomain.com/userSolution
Then changed it on
application.ini:Then logged in MySQL:
And executed:
Executed again:
Restarted
sudo service php-fpm restartand was now getting the value on the front:Conclusion
I hope this helps someone to double check all the config about your data directories and would be nice that in the future ViMbAdmin displayed a message like "Can't find directory [dir], check your configuration".
Regards.
@barryo commented on GitHub (Apr 1, 2022):
Thanks for that - should be super helpful to anyone searching for this.