You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2009/09/10 07:57:25 UTC
svn commit: r813237 - /spamassassin/trunk/rulesrc/sandbox/hege/20_hk_dev.cf
Author: hege
Date: Thu Sep 10 05:57:24 2009
New Revision: 813237
URL: http://svn.apache.org/viewvc?rev=813237&view=rev
Log:
fix filenames, improve bigmoney
Modified:
spamassassin/trunk/rulesrc/sandbox/hege/20_hk_dev.cf
Modified: spamassassin/trunk/rulesrc/sandbox/hege/20_hk_dev.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/hege/20_hk_dev.cf?rev=813237&r1=813236&r2=813237&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/hege/20_hk_dev.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/hege/20_hk_dev.cf Thu Sep 10 05:57:24 2009
@@ -2,8 +2,8 @@
## Mime rules
ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
-mimeheader __HK_SPAMMY_CTFN Content-Type =~ /name=.*?(?:lot(?:eri[ej]|t(?:ery|o))|award|prize|winn(?:er|ing)|microsoft|congrat|proposal|urgent|\bfrom\b)/mi
-mimeheader __HK_SPAMMY_CDFN Content-Disposition =~ /name=.*?(?:lot(?:eri[ej]|t(?:ery|o))|award|prize|winn(?:er|ing)|microsoft|congrat|proposal|urgent|\bfrom\b)/mi
+mimeheader __HK_SPAMMY_CTFN Content-Type =~ /name=.*?(?:lot(?:eri[ej]|t(?:ery|o))|award|prize|winn(?:er|ing)|microsoft|congrat|urgent)/mi
+mimeheader __HK_SPAMMY_CDFN Content-Disposition =~ /name=.*?(?:lot(?:eri[ej]|t(?:ery|o))|award|prize|winn(?:er|ing)|microsoft|congrat|urgent)/mi
meta HK_SPAMMY_FILENAME __HK_SPAMMY_CTFN || __HK_SPAMMY_CDFN
endif
@@ -32,8 +32,8 @@
#body __hk_million2 /(?:\$|£|eur|usd|gbp|cfa|euros?|dollard?s?|pounds?|francs?)(?: de\b)? mill(?:(?:es?|ons?)|ion)/
body __hk_million2 /(?:\$|eur|usd|gbp|cfa|euros?|dollard?s?|pounds?|francs?)(?: de\b)? mill(?:(?:es?|ons?)|ion)/
body __hk_hthousand /hundred.{0,20}thousand.{0,20}(?:eur|usd|gbp|cfa|euros?|dollard?s?|pounds?|francs?)\b/i
-#body __hk_bigmoney /(?:EURO?|USD?|GBP|CFA|\&\#163;|£|\$).{0,4}(?:[0-9]{3}[^0-9a-z]?[0-9]{3}|[0-9.,]{1,4}(?: ?M\b| ?(?:de )?Mil))/i
-body __hk_bigmoney /(?:EURO?|USD?|GBP|CFA|\&\#163;|\$).{0,4}(?:[0-9]{3}[^0-9a-z]?[0-9]{3}|[0-9.,]{1,4}(?: ?M\b| ?(?:de )?Mil))/i
+#body __hk_bigmoney /(?:EURO?|USD?|GBP|CFA|\&\#163;|£|\$|sum of).{0,4}(?:[0-9]{3}[^0-9a-z]?[0-9]{3}|[0-9.,]{1,4}(?: ?M\b| ?(?:de )?Mil))/i
+body __hk_bigmoney /(?:EURO?|USD?|GBP|CFA|\&\#163;|\$|sum of).{0,4}(?:[0-9]{3}[^0-9a-z]?[0-9]{3}|[0-9.,]{1,4}(?: ?M\b| ?(?:de )?Mil))/i
meta HK_MUCHMONEY __hk_million || __hk_million2 || __hk_hthousand || __hk_bigmoney
describe HK_MUCHMONEY Message refers to hundreds of thousands or millions