Herron has submitted this change and it was merged. (
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(-)
Approvals:
Herron: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/profile/templates/exim/system_filter.conf.mailman.erb
b/modules/profile/templates/exim/system_filter.conf.mailman.erb
index 83d20fc..5c39455 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: merged
Gerrit-Change-Id: I649a27fb0850f0de6755af1bd8f9497bb684d006
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Herron <[email protected]>
Gerrit-Reviewer: Herron <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits