[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A list of broken mirrors (fwd)



Matt Kraii wrote:
> MJ Ray wrote:
> > Would someone in the debwww group apply a patch (I'll write)
> > to the submit-mirror cgi to make it open a wishlist bug on
> > mirrors instead of emailing mirrors@ please? Let me know.
> 
> I'll do so.

Here's a minimal patch. Can you test it once patched, please?

Many thanks.

--- submit_mirror.pl	2005-06-29 21:53:49.000000000 +0100
+++ submit_mirror.pl	2005-06-29 22:10:25.000000000 +0100
@@ -6,7 +6,7 @@
 
 require 5.001;
 
-my $to = 'mirrors@debian.org';
+my $to = 'submit@bugs.debian.org';
 
 # $debug=0;
 use CGI;
@@ -147,10 +147,12 @@
 
   $text = "From: $from\n"
          ."To: $to\n"
-         ."Mail-Followup-To: $from, $to\n"
          ."Subject: New Debian mirror submission\n"
          ."X-Sender: unauthenticated web user of submit_mirror.pl, by $to\n"
          ."\n"
+	 ."Package: mirrors"
+	 ."Severity: wishlist"
+	 ."\n"
          .$body;
   @command = ("/usr/sbin/sendmail", "-f", $from, $to);
 



Reply to: