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 2007/01/15 15:55:54 UTC

svn commit: r496355 - /spamassassin/trunk/masses/plugins/Dumptext.pm

Author: jm
Date: Mon Jan 15 06:55:54 2007
New Revision: 496355

URL: http://svn.apache.org/viewvc?view=rev&rev=496355
Log:
we don't need to see text from the compilation msg

Modified:
    spamassassin/trunk/masses/plugins/Dumptext.pm

Modified: spamassassin/trunk/masses/plugins/Dumptext.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/plugins/Dumptext.pm?view=diff&rev=496355&r1=496354&r2=496355
==============================================================================
--- spamassassin/trunk/masses/plugins/Dumptext.pm (original)
+++ spamassassin/trunk/masses/plugins/Dumptext.pm Mon Jan 15 06:55:54 2007
@@ -17,6 +17,11 @@
   my $array = $opts->{permsgstatus}->get_decoded_stripped_body_text_array();
   my $str = join (' ', @$array);
   $str =~ s/\s+/ /gs;
+
+  # ignore the M:SpamAssassin:compile() test message
+  return if ($str =~ 
+        /I need to make this message body somewhat long so TextCat preloads/);
+
   print STDOUT "text: $str\n";
 }