Merge pull request #1450 from zeroheure/patch-1

Fix flag case sensitivity in dovecot and rspamd sieve filter
This commit is contained in:
Alexandre Aubin 2023-01-03 15:07:43 +01:00 committed by GitHub
commit bb6f8ef41c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
if header :contains "X-Spam-Flag" "Yes" {
fileinto "Junk";
}

View file

@ -1,4 +1,4 @@
require ["fileinto"];
if header :is "X-Spam" "yes" {
if header :is "X-Spam" "Yes" {
fileinto "Junk";
}