]> git.donarmstrong.com Git - debbugs.git/commitdiff
strip of the envelope from don/spam-tools
authorDon Armstrong <don@donarmstrong.com>
Sat, 16 Dec 2017 00:54:18 +0000 (16:54 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sat, 16 Dec 2017 00:54:18 +0000 (16:54 -0800)
bin/debbugs-spam

index 5dca08edf01de69653388521c21f3c4aa6e6d785..a0d41887a605b5bdd07743f540ab1319479748e4 100755 (executable)
@@ -347,7 +347,7 @@ sub add_return_path {
     ## is happy.
     $message =~
         s{^(Received: \(at \S+\) by \S+;[^\n]+\n)(From (\S+) [^\n]+\n)}
-        {${2}Return-path: $3\n$1};
+        {Return-path: $3\n$1};
     return $message;
 }