mailboxes stats

Discussion in 'ISPConfig 3 Priority Support' started by pinkfeet, Jul 24, 2023.

  1. pinkfeet

    pinkfeet Member HowtoForge Supporter

    Hi,

    i'm having a problem with mailboxes traffic stats, it's running the latest ISPConfig patch 3.2.10p2. The stats remains unchanged, however those mailboxes have a lot of traffic. I've tried to recalc the stats using cron_debug.php but it seems there's no problems with it:

    root@localhost:~ $ php /usr/local/ispconfig/server/cron_debug.php --cronjob=100-mailbox_stats.inc.php
    finished cron debug.

    Any ideas ?

    Thanks a lot,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Traffic stats are gathered from /var/log/mail.log, if I remember correctly. Is the mail.log working and contains the recent traffic?
     
  3. pinkfeet

    pinkfeet Member HowtoForge Supporter

    Hi Till,
    sure, the mail.log is working and logs the traffic correctly, it logs email activity and the system rotate mail log files as normal.
    I've discovered right now mail_traffic table shows traffic stats until month = 2022-12. There is no more recent information.

    Any ideas ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look into the table sys_cron in the ispconfig database, there is a record for each of the cron plugins. Delete the one for mailbox_stats and then check tomorrow of the traffic stats got generated.
     

Share This Page