Skip to content

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

@Nepochal

Description

@Nepochal

Subject

Moving mails from junk to trash triggers learn-ham in autolearn.

Description

The autolearn feature for rspamd uses the following config:

  # From Junk folder to elsewhere
  imapsieve_mailbox2_name = *
  imapsieve_mailbox2_from = Junk
  imapsieve_mailbox2_causes = COPY
  imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve-pipe/learn-ham.sieve

This results in a ham classification if mails from the junk folder are moved to thrash. Is this intended? What is the correct method to delete spam mails without classifying them as ham?

Kind regards.

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions