]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-10-12 18:39:01 by cjwatson]
authorcjwatson <>
Sun, 13 Oct 2002 01:39:01 +0000 (17:39 -0800)
committercjwatson <>
Sun, 13 Oct 2002 01:39:01 +0000 (17:39 -0800)
X-Loopify service's ack messages, so they don't get logged as real incoming
messages in bugs.

scripts/service.in

index 66a2b5e0c668318af84efa4a58d53b04b6232902..ad784ae3700705ab6c488ef5f93e92e03a9c5faf 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: service.in,v 1.54 2002/10/06 22:54:48 cjwatson Exp $
+# $Id: service.in,v 1.55 2002/10/12 18:39:01 cjwatson Exp $
 # ^ more or less ^
 #
 # Usage: service <code>.nn
@@ -688,6 +688,7 @@ sub get_addresses {
 
 sub sendmailmessage {
     local ($message,@recips) = @_;
+    $message = "X-Loop: $gMaintainerEmail\n" . $message;
     print "mailing to >@recips<\n" if $debug;
     $c= open(D,"|-");
     defined($c) || &quit("mailing forking for sendmail: $!");