Skip to content

Commit e8471e3

Browse files
Fix Bayes spamfilter issue
fix hestiacpGH-4401 The string "Bayes" includes the string "yes" so the previous "contains" approach would mark everything from Bayes as spam. --------- Co-authored-by: divinity76 <hans@loltek.net>
1 parent 5136018 commit e8471e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/deb/exim/system.filter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if $h_X-Spam-Status: contains "Yes"
1+
if $h_X-Spam-Status: matches ^[Yy]es
22
then
33
headers add "Old-Subject: $h_subject"
44
headers remove "Subject"

0 commit comments

Comments
 (0)