http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5492





------- Additional Comments From [EMAIL PROTECTED]  2007-08-27 22:33 -------

Why are you calling get_pristine() and skipping headers, when a simple 
get_pristine_body() call handles it? :-)

--- VBounce.pm.orig   Wed Aug  8 16:19:14 2007
+++ VBounce.pm Tue Aug 28 08:30:13 2007
@@ -115,16 +115,7 @@
   # don't use the more efficient find_parts() method until bug 5331 is
   # fixed, otherwise we'll miss some messages due to their MIME structure

-  my $pristine = $pms->{msg}->get_pristine();
-  # skip past the headers
-  my $foundnlnl = 0;
-  foreach my $line ($pristine =~ /^(.*)$/gm) {
-    # note: do not use any re match here, it'll reset /g
-    if ($line eq "" || $line eq "\012" || $line eq "\015\012") {
-      $foundnlnl = 1; last;
-    }
-  }
-  return 0 unless $foundnlnl;
+  my $pristine = $pms->{msg}->get_pristine_body();

   # and now through the pristine body
   foreach my $line ($pristine =~ /^(.*)$/gm) {




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to