You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/02/05 05:09:00 UTC

svn commit: rev 6504 - in incubator/spamassassin/trunk: lib/Mail/SpamAssassin rules

Author: felicity
Date: Wed Feb  4 20:08:59 2004
New Revision: 6504

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
   incubator/spamassassin/trunk/rules/20_body_tests.cf
   incubator/spamassassin/trunk/rules/30_text_de.cf
   incubator/spamassassin/trunk/rules/30_text_fr.cf
   incubator/spamassassin/trunk/rules/50_scores.cf
Log:
remove MICROSOFT_EXECUTABLE

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm	Wed Feb  4 20:08:59 2004
@@ -2469,7 +2469,6 @@
   $self->{mime_checked_attachments} = 1;
 
   # results
-  $self->{microsoft_executable} = 0;
   $self->{mime_base64_blanks} = 0;
   $self->{mime_base64_count} = 0;
   $self->{mime_base64_encoded_text} = 0;
@@ -2521,9 +2520,6 @@
     my $previous = '';
     foreach ( @{$p->raw()} ) {
       if ( $cte =~ /base64/i ) {
-        if ($previous =~ /^$/ && /^TV[pq]QAA[MI]AAAAEAA[8A]A/) {
-	  $self->{microsoft_executable} = 1;
-        }
         if ($previous =~ /^\s*$/ && /^\s*$/) {
 	  $self->{mime_base64_blanks} = 1;
         }
@@ -2540,9 +2536,6 @@
 	$part_bytes[$part] += length;
       }
 
-      if ($previous =~ /^begin [0-7]{3} ./ && /^M35J0``,````\$````/) {
-        $self->{microsoft_executable} = 1;
-      }
       if ($where != 1 && $cte eq "quoted-printable" && ! /^SPAM: /) {
         if (length > 77) {
 	  $self->{mime_qp_long_line} = 1;

Modified: incubator/spamassassin/trunk/rules/20_body_tests.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/20_body_tests.cf	(original)
+++ incubator/spamassassin/trunk/rules/20_body_tests.cf	Wed Feb  4 20:08:59 2004
@@ -182,12 +182,6 @@
 describe MIME_QP_NO_CHARSET	Quoted-printable inline text with no charset
 
 # actually indicates viruses, typically; just used here to clean corpora.
-rawbody  MICROSOFT_EXECUTABLE	eval:check_for_mime('microsoft_executable')
-describe MICROSOFT_EXECUTABLE	Message includes Microsoft executable program
-# todo: better tflags category for these tests
-tflags MICROSOFT_EXECUTABLE userconf
-
-# actually indicates viruses, typically; just used here to clean corpora.
 rawbody  MIME_SUSPECT_NAME	eval:check_for_mime('mime_suspect_name')
 describe MIME_SUSPECT_NAME	MIME filename does not match content
 # todo: better tflags category for these tests

Modified: incubator/spamassassin/trunk/rules/30_text_de.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/30_text_de.cf	(original)
+++ incubator/spamassassin/trunk/rules/30_text_de.cf	Wed Feb  4 20:08:59 2004
@@ -95,7 +95,6 @@
 lang de describe MIME_QP_EXCESSIVE �bertriebene "quoted-printable"-Kodierung des Nachrichtentexts
 lang de describe MIME_QP_LONG_LINE "quoted-printable"-kodierte Zeile l�nger als 76 Zeichen
 lang de describe MIME_QP_NO_CHARSET trotz "quoted-printable"-Kodierung keine Zeichensatzdeklaration
-lang de describe MICROSOFT_EXECUTABLE Nachricht enth�lt ausf�hrbares Program f�r MS-Windows
 lang de describe MIME_SUSPECT_NAME MIME-Dateiname entspricht nicht dem MIME-Typ
 lang de describe MIME_CHARSET_FARAWAY MIME-Zeichensatz deutet auf fremde Sprache hin
 lang de describe CHARSET_FARAWAY Zeichensatz deutet auf fremde Sprache hin

Modified: incubator/spamassassin/trunk/rules/30_text_fr.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/30_text_fr.cf	(original)
+++ incubator/spamassassin/trunk/rules/30_text_fr.cf	Wed Feb  4 20:08:59 2004
@@ -519,7 +519,6 @@
 lang fr describe MDAEMON_2_7_4		Re�u via un serveur SMTP buggu� (MDaemon 2.7.4SP4R)
 lang fr describe MEET_SINGLES		Propose de rencontrer des c�libataires
 lang fr describe MEGA_SITE              Pornographie possible "Mega porn"
-lang fr describe MICROSOFT_EXECUTABLE   Contient un programme ex�cutable sur plateforme Microsoft
 lang fr describe MICRO_CAP_WARNING	Formule d'avertissement de la SEC � propos des investissements dans le micro-capital
 lang fr describe MILLION_EMAIL		Propose une liste d'un million d'adresses e-mail
 lang fr describe MILLION_USD 		Phrase cl� d'escroquerie nig�rienne (millions of dollars)

Modified: incubator/spamassassin/trunk/rules/50_scores.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/50_scores.cf	(original)
+++ incubator/spamassassin/trunk/rules/50_scores.cf	Wed Feb  4 20:08:59 2004
@@ -988,7 +988,6 @@
 
 # highly generic tests for viruses that are scored just high enough to run
 
-score MICROSOFT_EXECUTABLE 0.100
 score MIME_SUSPECT_NAME 0.100
 
 # accessdb lookups

Re: svn commit: rev 6504 - in incubator/spamassassin/trunk: lib/Mail/SpamAssassin rules

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, Feb 05, 2004 at 01:37:37AM -0800, Dan Quinlan wrote:
> Can't we keep this test?  A module is fine.

please see ticket 3010, it's a tracker to reimplement as a plugin.

-- 
Randomly Generated Tagline:
If it's green and it wiggles, it's biology.

Re: svn commit: rev 6504 - in incubator/spamassassin/trunk: lib/Mail/SpamAssassin rules

Posted by Daniel Quinlan <qu...@pathname.com>.
felicity@apache.org writes:

> remove MICROSOFT_EXECUTABLE

Can't we keep this test?  A module is fine.

-- 
Daniel Quinlan                     anti-spam (SpamAssassin), Linux,
http://www.pathname.com/~quinlan/    and open source consulting

Re: svn commit: rev 6504 - in incubator/spamassassin/trunk: lib/Mail/SpamAssassin rules

Posted by Daniel Quinlan <qu...@pathname.com>.
felicity@apache.org writes:

> remove MICROSOFT_EXECUTABLE

Can't we keep this test?  A module is fine.

-- 
Daniel Quinlan                     anti-spam (SpamAssassin), Linux,
http://www.pathname.com/~quinlan/    and open source consulting