Does rspamd learn and unlearn based on email movement to/from Junk folder?

Issue #541 resolved
Greg created an issue

The correct behavior is:

  • Email moved from Inbox -> Junk (learn)
  • Email moved from Junk -> Inbox (unlearn)
  • Email moved from Junk -> Trash (no action)

Does rspamd do this in Poste? If it does feel free to close this issue.

Comments (5)

  1. Greg reporter

    So while yes I am a developer, I don't think that means I automatically know everything about setting up mail servers and Sieve rules :P (although I am learning).

    So I have a question about that link, specifically this section:

    # From Spam folder to elsewhere
      imapsieve_mailbox2_name = *
      imapsieve_mailbox2_from = Junk
      imapsieve_mailbox2_causes = COPY
      imapsieve_mailbox2_before = file:/usr/local/etc/dovecot/sieve/report-ham.sieve
    

    The imapsieve_mailbox2_name is set to anywhere (*). Does that mean that if you delete messages in your Junk folder it will mark them as ham? (Since they are moved to the Trash folder?)

  2. Roman

    Copying from Junk to Trash is filtered-out in /etc/dovecot/sieve/report-ham.sieve

    if string "${mailbox}" [ "Trash" ] {
      stop;
    }
    
  3. Greg reporter

    Ah, thank you! OK, looks like my concern was unwarranted, thanks so much for your help Roman! I'll close this issue.

  4. Log in to comment