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

More diagnostics about partial rule matches in failure logs #2

Open
dbarnett opened this issue Aug 21, 2019 · 1 comment
Open

More diagnostics about partial rule matches in failure logs #2

dbarnett opened this issue Aug 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@dbarnett
Copy link
Contributor

For emails that fail to match any rule, it would be wonderful if the failure report could list any diagnostics about rules they partially matched. For instance, given a rule like:

(and
  (from someone@example.com)
  (receiver someoneelse@example.net))

You might get a failure email with an error like:

Process email failed: Thread "Invitation to the party" has no action, does it match any rule?
Didn't match rule "(and (from someone@…" on row 5 because sender was "someone@example.net", not "someone@example.com".
@dbarnett dbarnett added the enhancement New feature or request label Aug 21, 2019
@ranmocy
Copy link
Owner

ranmocy commented Aug 22, 2019

That sounds useful.

Just a reminder that you are the contributor so you could write and push. If you'd like to some input on the change, then create a pull request and we could discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants