Jgreen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/77841


Change subject: remove flat-file otrs system_filter
......................................................................

remove flat-file otrs system_filter

Change-Id: Ife757722070317afc64aa200e5da32863dad3c99
---
D files/exim/system_filter.otrs
1 file changed, 0 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/41/77841/1

diff --git a/files/exim/system_filter.otrs b/files/exim/system_filter.otrs
deleted file mode 100644
index 8db14f9..0000000
--- a/files/exim/system_filter.otrs
+++ /dev/null
@@ -1,18 +0,0 @@
-# Exim filter
-
-if first_delivery then
-    # Remove headers that control OTRS - we don't want these to be inserted 
from outside
-    headers remove 
X-OTRS-Priority:X-OTRS-Queue:X-OTRS-Lock:X-OTRS-Ignore:X-OTRS-State
-    if $acl_m0 is not "trusted relay" then
-        # Remove any SpamAssassin headers and add local ones
-        headers remove 
X-Spam-Score:X-Spam-Report:X-Spam-Checker-Version:X-Spam-Status:X-Spam-Level
-    endif
-    if $acl_m0 is not "" and $acl_m0 is not "trusted relay" then
-        headers add "X-Spam-Score: $acl_m0"
-        headers add "X-Spam-Report: $acl_m1"
-       # Instruct OTRS to sort this mail into its Junk queue
-       if $header_X-Spam-Score matches "\\N\(\\+{5,}\)\\N" then
-           headers add "X-OTRS-Queue: Junk"
-       endif
-    endif
-endif

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife757722070317afc64aa200e5da32863dad3c99
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jgreen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to