Your message dated Tue, 15 May 2007 14:24:19 +0200 with message-id <20070515122419.GB12645@ouaza.com> and subject line Bug#424001: Use RFC 2369 List-Unsubscribe header for PTS subscription mails has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Use RFC 2369 List-Unsubscribe header for PTS subscription mails
- From: Thijs Kinkhorst <thijs@debian.org>
- Date: Tue, 15 May 2007 11:47:01 +0200
- Message-id: <200705151147.01951.thijs@debian.org>
Package: qa.debian.org Severity: minor Tags: patch User: debian-qa@lists.debian.org Usertags: pts Hi, The mails that the PTS forwards when you're subscribed to a certain package currently include a "X-Unsubscribe" header: > X-PTS-Package: squirrelmail > X-PTS-Keyword: upload-source > X-Unsubscribe: echo 'unsubscribe squirrelmail' | mail pts@qa.debian.org The good news is that there's a RFC-defined header just for this: List-Unsubscribe, which some MUA's will handle automatically and conveys the same information. Attached patch uses the List-Unsubscribe header. ThijsIndex: dispatch.pl =================================================================== --- dispatch.pl (revision 1535) +++ dispatch.pl (working copy) @@ -181,8 +181,8 @@ $mail->head()->add("X-Loop", "$package\@packages.qa.debian.org"); $mail->head()->add("X-PTS-Package", $package); $mail->head()->add("X-PTS-Keyword", $keyword); -$mail->head()->add("X-Unsubscribe", - "echo 'unsubscribe $package' | mail pts\@qa.debian.org"); +$mail->head()->add("List-Unsubscribe", + "<mailto:pts\@qa.debian.org?body=unsubscribe+$package>"); # Forward the mail ... with a VERP header my $date = strftime('%Y%m%d', gmtime());
--- End Message ---
--- Begin Message ---
- To: Thijs Kinkhorst <thijs@debian.org>, 424001-done@bugs.debian.org
- Subject: Re: Bug#424001: Use RFC 2369 List-Unsubscribe header for PTS subscription mails
- From: Raphael Hertzog <hertzog@debian.org>
- Date: Tue, 15 May 2007 14:24:19 +0200
- Message-id: <20070515122419.GB12645@ouaza.com>
- In-reply-to: <200705151147.01951.thijs@debian.org>
- References: <200705151147.01951.thijs@debian.org>
On Tue, 15 May 2007, Thijs Kinkhorst wrote: > The good news is that there's a RFC-defined header just for this: > List-Unsubscribe, which some MUA's will handle automatically and conveys the > same information. > > Attached patch uses the List-Unsubscribe header. Applied. Thanks for the patch! -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/
--- End Message ---