Herron has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/365279 )
Change subject: Lists: Add exim filter for spam observed from qq.com
......................................................................
Lists: Add exim filter for spam observed from qq.com
Filter in exim messages with attributes seen in spam sent to list -owners
addresses.
Bug: T170601
Change-Id: I649a27fb0850f0de6755af1bd8f9497bb684d006
---
M modules/profile/templates/exim/system_filter.conf.mailman.erb
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/79/365279/1
diff --git a/modules/profile/templates/exim/system_filter.conf.mailman.erb
b/modules/profile/templates/exim/system_filter.conf.mailman.erb
index 83d20fc..c1589ad 100644
--- a/modules/profile/templates/exim/system_filter.conf.mailman.erb
+++ b/modules/profile/templates/exim/system_filter.conf.mailman.erb
@@ -17,3 +17,8 @@
fail text "Message rejected for privacy protection: The list of
recipients contains both private and public mail lists"
endif
endif
+
+# Filter spam observed from qq.com with matching subject.
+if $header_subject: contains "只要投紸荭宝天天" and $header_from: ends "qq.com" then
+ fail text "Message rejected"
+endif
--
To view, visit https://gerrit.wikimedia.org/r/365279
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I649a27fb0850f0de6755af1bd8f9497bb684d006
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Herron <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits