Skip to content

Rspamd: adjust learning of ham#3334

Merged
georglauterbach merged 3 commits intomasterfrom
rspamd/learn
May 13, 2023
Merged

Rspamd: adjust learning of ham#3334
georglauterbach merged 3 commits intomasterfrom
rspamd/learn

Conversation

@georglauterbach
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Documentation preview for this PR is ready! 🎉

Built with commit: c9963de

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

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

Archived in project

Development

Successfully merging this pull request may close these issues.

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

2 participants