Hello everyone, I recently set up a new server and transferred the data to it using the "migration toolkit." Now, when I go into a client's mailbox, there is no longer any calculation of storage usage. When I run "doveadm quota get -u [email protected]", I get the correct values. Is there a specific place I can look to resolve this issue? I am using Debian. Thank you.
Use: Code: doveadm quota recalc -A To recalculate quota for all users. It may take some time until the quota values get imported into ISPConfig then.
What kind of timeline should I expect? As a follow-up question: where are the values stored? Thank you
In the MailDirs. In a standard ISPConfig installation that is /var/vmail/%d/%n/.quotausage That depends on the scale of your setup, how many users and mails these users have. It can take a few minutes to complete.
Thanks Pyte, The files are indeed present, but there’s still nothing showing in ISPConfig (after 24 hours). I have approximately 220 email accounts.
Mh the cronjobs checks the quotas with doveadm quota -A, and then should replace the new data in the corrosponding monitor_data table in the database. Which is the table from where the interface trys to fetch the quota values. No idea why this would not be there. Can you check the output of the doveadm quota -A command? And if you know what you are doing maybe check if the record is present in the database itself with select * from monitor_data where type = "email_quota";
I think, it's the point… There is only one email in the data section, an idea of what I should do ? Thanks for the support !
Code: doveadm quota -A usage: doveadm [-Dv] [-f <formatter>] quota <command> [<args>] get recalc but "doveadm quota get -A" is working and I get the information from all email addresses
Yea sorry i missed the 'get'. No idea why it is not written to the database then. As a last straw you could enable debug mode, as the cronjob for the gathering of the data logs messages if debug mode is enabled.
No error about the cronjob : Code: php /usr/local/ispconfig/server/cron_debug.php --cronjob=100-mailbox_stats.inc.php Called run() for class cronjob_mailbox_stats Job has schedule: 0 0 * * * Called onPrepare() for class cronjob_mailbox_stats Called onBeforeRun() for class cronjob_mailbox_stats Jobs next run is 2025-06-13 00:00:00 Date compare of 1749772800 and 1749713644 is -1 Called onRun() for class cronjob_mailbox_stats Called onAfterRun() for class cronjob_mailbox_stats Called onCompleted() for class cronjob_mailbox_stats finished cron debug.
Single server No error with the debug : Code: php /usr/local/ispconfig/server/cron_debug.php --cronjob=100-monitor_email_quota.inc.php Called run() for class cronjob_monitor_email_quota Job has schedule: */15 * * * * Called onPrepare() for class cronjob_monitor_email_quota Called onBeforeRun() for class cronjob_monitor_email_quota Jobs next run is 2025-06-12 09:45:00 Date compare of 1749721500 and 1749721474 is -1 Called onAfterRun() for class cronjob_monitor_email_quota Called onCompleted() for class cronjob_monitor_email_quota finished cron debug.