Wrong Mailboxsize after Import

Discussion in 'Installation/Configuration' started by sunghost, Jul 27, 2016.

  1. sunghost

    sunghost Member

    Hello,
    i test ISPConfig 3.1 and copied alle Mails from one non ispc Server to a new ispc Server. The permissions with vmail:vmail seems ok, but the panel shows different sizes as quota usesr:
    Folder for whole Maildir = 2.2G
    Mailquota in GUI = 137.5371 KB

    Did i miss some manual script running or is there any kind of interval for new calculation?
    thx
     
  2. Jesse Norell

    Jesse Norell Active Member

    Try deleting the maildirsize file inside your Maildir and it will recalculate quotas.
     
  3. sunghost

    sunghost Member

    Hi,
    ok deleted, but after 3min its not new calculated. ?!
     
  4. Jesse Norell

    Jesse Norell Active Member

    try sending the user a new email, I think dovecot rebuilds that upon delivery. possibly (likely?) also when you delete a message.
     
  5. sunghost

    sunghost Member

    Hi,
    deleted again and just reading a mail is enough to recreate the .quotausage file. content with:
    4787
    priv/quota/storage
    2316016353
    seems ok, but ISPConfig GUI shows still 159.7363 KB, beside the value shown is wrong. So its an GUI thing, i think.
    edit: looked now after aprox. 2h again the value seems ok: 2208.7362 MB, so which intervall is used from ispc to update the stats?
     
    Last edited: Jul 27, 2016
  6. Jesse Norell

    Jesse Norell Active Member

    Looks like it should be every 15 minutes:
    Code:
    # grep schedule /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_email_quota.inc.php
        // job schedule
        protected $_schedule = '*/15 * * * *';
    
     

Share This Page