bundles/dovecot: filter X-Spam-Status, not X-Spam-Flag
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
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:
parent
759a711dc5
commit
f56703df2e
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
require ["fileinto", "imap4flags"];
|
require ["fileinto", "imap4flags"];
|
||||||
|
|
||||||
if header :contains "X-Spam-Flag" "YES" {
|
if header :contains "X-Spam-Status" "Yes" {
|
||||||
setflag "\\seen";
|
setflag "\\seen";
|
||||||
fileinto "Junk";
|
fileinto "Junk";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue