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

Rspamd: adjust learning of ham #3334

Merged
merged 3 commits into from May 13, 2023
Merged

Rspamd: adjust learning of ham #3334

merged 3 commits into from May 13, 2023

Conversation

georglauterbach
Copy link
Member

Description

When moving a mail from the Junk folder to the Trash folder, the mail
previously classified as ham due to the wildcard match of *. Because
the syntax does not allow for negation, we can only change the behavior
in a way that mails are learned as ham when they are moved into INBOX
from Junk. This is reasonable though.

Fixes #3333

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update (not strictly)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

See #3333

When moving a mail from the Junk folder to the Trash folder, the mail
previously classified as ham due to the wildcard match of `*`. Because
the syntax does not allow for negation, we can only change the behavior
in a way that mails are learned as ham when they are moved into `INBOX`
from `Junk`. This is reasonable though.
@github-actions
Copy link
Contributor

Documentation preview for this PR is ready! 🎉

Built with commit: c9963de

@georglauterbach georglauterbach merged commit 9fd00bd into master May 13, 2023
9 checks passed
@georglauterbach georglauterbach deleted the rspamd/learn branch May 13, 2023 11:59
@Nepochal
Copy link

It's a good solution. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

rspamd: moving mails from junk to trash triggers learn-ham in autolearn.
2 participants