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

Feat(rule mail collector): add criterion for quarantine released #18943

Open
wants to merge 3 commits into
base: 10.0/bugfixes
Choose a base branch
from

Conversation

Rom1-B
Copy link
Contributor

@Rom1-B Rom1-B commented Feb 7, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

  • It fixes !36253
  • Here is a brief description of what this PR does

When an email is quarantined by Microsoft and then released by an admin, GLPI considers it as an automated email and blocks it using the default rule:

image

This PR adds a criterion to the default rule to identify that an email has been released from quarantine by modifying the rule as follows:

image

However, since this criterion is specific to Microsoft, the default rule is not modified. Users must add it manually if needed.

@trasher
Copy link
Contributor

trasher commented Feb 7, 2025

This probably requires a test case

@Rom1-B Rom1-B changed the base branch from main to 10.0/bugfixes February 7, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants