Mailbox quota notice is not sent to customers

Discussion in 'Installation/Configuration' started by Planea, Oct 28, 2023.

  1. Planea

    Planea New Member

    The fact is that the mail to the reseller does arrive.
    In System > Server config > Mail I have configured:
    • Mailbox quota statistics yes
    • Quota warning usage level 90%
    • Send quota warnings to administrator yes
    • Send quota warnings to reseller yes
    • Send quota notifications to customer yes
    • Send quota warning every X days 7 days
    When I look in the mail logs or rspamd to see if the mails have been sent I can't find any evidence of this.
    Is there something I am missing?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You did see the warning sent to the admin and reseller in the log bur not the one to the user? or did you see no quota notifications sent to anyone?
     
  3. Planea

    Planea New Member

    I see the warning to reseller. I think reseller and admin mailbox is the same but I only receive one email. In the log I only see a warning mail.
     
  4. Planea

    Planea New Member

    My ISPConfig Version: 3.2.9p1
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    I recommend you update ISPConfig, your version is quite old. And if the issue persists, then you can e.g. do a debug run of the quota notification plugin to see if there are any errors. There is a script /usr/local/ispconfig/server/cron_debug.php to help debugging cron plugins.
     
  6. Planea

    Planea New Member

    Thank you. I will give it a try.
    Is there any tutorial or guide to know more about debugging?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no guide about debugging cron plugins. We have only a guide about debugging general server actions. But this does not apply to your problem. Debugging cron plugins works like this:

    Code:
    cd /usr/local/ispconfig/server
    php cron_debug.php --cronjob=300-quota_notify.inc.php
    This will run the cronjob out of schedule. You can find all corn plugins in /usr/local/ispconfig/server/lib/classes/cron.d/
     
  8. Planea

    Planea New Member

    It works! Thank you for your help till!
     

Share This Page