You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2013/09/04 16:16:42 UTC

[Bug 6698] New DCC.pm improves performance, is more resilient.

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6698

--- Comment #26 from Vernon Schryver <vj...@rhyolite.com> ---
There is a bug in this version of DCC.pm that is fixed with this change:

--- DCC.pm.old  2013-09-04 14:15:32.000000000 +0000
+++ DCC.pm      2013-09-04 14:15:14.000000000 +0000
@@ -825,8 +825,10 @@
        $opts = $self->{dccifd_report_options}
       } else {
        $opts = $self->{dccifd_lookup_options};
-       # only query if there is an X-DCC header
-       $opts =~ s/grey-off/& query/ if defined $permsgstatus->{dcc_raw_x_dcc};
+       if defined $permsgstatus->{dcc_raw_x_dcc} {
+         # only query if there is an X-DCC header
+         $opts =~ s/grey-off/grey-off query/
+       }
       }
       $sock->print($opts)         or die "failed write options\n";
       $sock->print($client . "\n") or die "failed write SMTP client\n";

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