You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by bi...@apache.org on 2018/12/05 21:15:16 UTC
svn commit: r1848250 -
/spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf
Author: billcole
Date: Wed Dec 5 21:15:16 2018
New Revision: 1848250
URL: http://svn.apache.org/viewvc?rev=1848250&view=rev
Log:
Wrap MIXED_ES in conditionals
Modified:
spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf
Modified: spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf?rev=1848250&r1=1848249&r2=1848250&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf Wed Dec 5 21:15:16 2018
@@ -1,7 +1,11 @@
-body __LOWER_E /e/i
-tflags __LOWER_E multiple
-replace_rules __E_LIKE_LETTER
-body __E_LIKE_LETTER /<E>/
-tflags __E_LIKE_LETTER multiple
-meta MIXED_ES ( __LOWER_E > 20 ) && ( __E_LIKE_LETTER > ( (__LOWER_E * 14 ) / 10) ) && ( ( __E_LIKE_LETTER / __LOWER_E ) < 10 )
-describe MIXED_ES Too many es are not es
+if can(Mail::SpamAssassin::Conf::feature_bug6558_free)
+ ifplugin Mail::SpamAssassin::Plugin::ReplaceTags
+ body __LOWER_E /e/i
+ tflags __LOWER_E multiple
+ replace_rules __E_LIKE_LETTER
+ body __E_LIKE_LETTER /<E>/
+ tflags __E_LIKE_LETTER multiple
+ meta MIXED_ES ( __LOWER_E > 20 ) && ( __E_LIKE_LETTER > ( (__LOWER_E * 14 ) / 10) ) && ( ( __E_LIKE_LETTER / __LOWER_E ) < 10 )
+ describe MIXED_ES Too many es are not es
+ endif
+endif