bundles/dovecot: filter X-Spam-Status, not X-Spam-Flag
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

The latter is YES even if the overall score is very low because of
IP allowlisting.
This commit is contained in:
Franzi 2022-03-12 10:24:06 +01:00
parent 759a711dc5
commit f56703df2e
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -1,6 +1,6 @@
require ["fileinto", "imap4flags"];
if header :contains "X-Spam-Flag" "YES" {
if header :contains "X-Spam-Status" "Yes" {
setflag "\\seen";
fileinto "Junk";
}