]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-03-27 19:37:21 by cjwatson]
authorcjwatson <>
Fri, 28 Mar 2003 03:37:21 +0000 (19:37 -0800)
committercjwatson <>
Fri, 28 Mar 2003 03:37:21 +0000 (19:37 -0800)
Don't send "Info received" acks for Precedence: bulk|junk|list mail, to
prevent mail loops. (Maybe we should ignore such mail altogether, as it's
probably just an ack from another bug tracking system? Not sure, but this
approach is safe for now.)

scripts/process.in

index c5c86148aeb61fc9467b8c21a2ec1594cfea4316..4c0140cb3bb96e8fbf8bd761d3db1b99cb3eb884 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: process.in,v 1.60 2003/03/25 20:13:11 cjwatson Exp $
+# $Id: process.in,v 1.61 2003/03/27 19:37:21 cjwatson Exp $
 #
 # Usage: process nn
 # Temps:  incoming/Pnn
@@ -762,7 +762,8 @@ $brokenness
 $gMaintainer
 (administrator, $gProject $gBugs database)
 END
-} elsif ($codeletter ne 'U') {
+} elsif ($codeletter ne 'U' and
+         $header{'precedence'} !~ /\b(?:bulk|junk|list)\b/) {
     &htmllog("Acknowledgement","sent",$replyto,
              ($veryquiet ? "Extra info received and filed, but not forwarded." :
               $codeletter eq 'M' ? "Extra info received and forwarded to maintainer." :