Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

health checker: add missing check for oversized mails #4727

Closed
wants to merge 1 commit into from

Commits on Jul 25, 2023

  1. health checker: add missing check for oversized mails

    the health checker endpoint only reported unprocessable mails, but not oversized mails
    that made custom monitoring solutions necessary, or - if not present - could lead to undetected operational issues
    this adds a check if (and how many) oversized mails are present in the OVERSIZED_MAIL directory
    
    with mails present in the oversized mails directory, the health check output now looks like:
    
    {"healthy":false,"message":"oversized mails: 4","issues":["oversized mails: 4"],"actions":[]}
    
    see also https://community.zammad.org/t/new-unprocessable-mail-directory-does-not-exist-on-zammad-6/11787
    wagner-intevation committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    96fd140 View commit details
    Browse the repository at this point in the history