fix RSPAMD_LEARN with mbsync (#4569)
Some checks failed
Build, Test & Deploy / Build AMD64 Image (push) Has been cancelled
Lint / lint (push) Has been cancelled
Build, Test & Deploy / Test AMD64 Image (push) Has been cancelled
Build, Test & Deploy / Publish AMD64 and ARM64 Image (push) Has been cancelled
Deploy :edge on Schedule / Build Images (push) Has been cancelled
Deploy :edge on Schedule / Scan Image for Vulnerabilities (push) Has been cancelled
Deploy :edge on Schedule / Publish Images (push) Has been cancelled

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
lalalala 2025-09-11 14:03:01 -03:00 committed by GitHub
parent 0cf26f0100
commit f343f7d960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,13 +229,13 @@ function __rspamd__setup_learning() {
# From anywhere to Junk
imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_causes = COPY APPEND
imapsieve_mailbox1_before = file:${SIEVE_PIPE_BIN_DIR}/learn-spam.sieve
# From Junk to Inbox
imapsieve_mailbox2_name = INBOX
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_causes = COPY APPEND
imapsieve_mailbox2_before = file:${SIEVE_PIPE_BIN_DIR}/learn-ham.sieve
}
EOF