You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/05/27 10:48:54 UTC

svn commit: r779062 - /spamassassin/rules/trunk/sandbox/jm/20_bug_5920.cf

Author: jm
Date: Wed May 27 08:48:54 2009
New Revision: 779062

URL: http://svn.apache.org/viewvc?rev=779062&view=rev
Log:
bug 5920: test replacement X_IP rule

Added:
    spamassassin/rules/trunk/sandbox/jm/20_bug_5920.cf

Added: spamassassin/rules/trunk/sandbox/jm/20_bug_5920.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jm/20_bug_5920.cf?rev=779062&view=auto
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_bug_5920.cf (added)
+++ spamassassin/rules/trunk/sandbox/jm/20_bug_5920.cf Wed May 27 08:48:54 2009
@@ -0,0 +1,7 @@
+
+header __X_IP                   exists:X-IP
+header __GOOGLE_GROUPS_UA       User-Agent =~ /^G2\//
+
+meta T_BUG5920_X_IP             (__X_IP && !__GOOGLE_GROUPS_UA)
+describe T_BUG5920_X_IP         Message has X-IP header
+