]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Regexp: Extend upstream spam filter regexp 3854/head
authorSebastian Lipponer <mail@sebastianlipponer.de>
Sat, 21 Aug 2021 09:37:00 +0000 (11:37 +0200)
committerSebastian Lipponer <mail@sebastianlipponer.de>
Sat, 21 Aug 2021 09:43:30 +0000 (11:43 +0200)
rules/regexp/upstream_spam_filters.lua

index 8c737e7c614aaa88945c93006ca8ac5e936d8d66..03929326cb71597313f23f011877b691d0220372 100644 (file)
@@ -51,7 +51,9 @@ reconf['SPAM_FLAG'] = {
 }
 
 reconf['UNITEDINTERNET_SPAM'] = {
-  re = 'X-UI-Out-Filterresults=/^junk:/H',
+  re = string.format('%s || %s',
+       'X-UI-Filterresults=/^junk:/H',
+       'X-UI-Out-Filterresults=/^junk:/H'),
   score = 5.0,
   description = "United Internet says this message is spam",
   group = 'upstream_spam_filters'