Herron has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/370655 )

Change subject: Change system filter for list owner spam from numeric qq.com 
addresses
......................................................................

Change system filter for list owner spam from numeric qq.com addresses

Filter messages from qq.com to list owner addresses with only digits present
in the user part address.

Change-Id: Id5a3facfc2feab9873b84ec94315be707a45cb3c
---
M modules/profile/templates/exim/system_filter.conf.mailman.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/55/370655/1

diff --git a/modules/profile/templates/exim/system_filter.conf.mailman.erb 
b/modules/profile/templates/exim/system_filter.conf.mailman.erb
index 3086a40..16f997b 100644
--- a/modules/profile/templates/exim/system_filter.conf.mailman.erb
+++ b/modules/profile/templates/exim/system_filter.conf.mailman.erb
@@ -29,6 +29,6 @@
 endif
 
 # Filter spam observed from qq.com to list owner addresses with only digits in 
user part
-if $header_from: matches "^[0-9]+@qq.com" and $header_to: contains "owner" then
+if $header_from: matches "<[0-9]+@qq.com" and $header_to: contains "owner" then
         fail text "Message rejected ref3"
 endif

-- 
To view, visit https://gerrit.wikimedia.org/r/370655
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5a3facfc2feab9873b84ec94315be707a45cb3c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Herron <kher...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to