From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id hUppIxAmzl8LCAAA0tVLHw (envelope-from ) for ; Mon, 07 Dec 2020 12:54:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6MK4HhAmzl/1OwAA1q6Kng (envelope-from ) for ; Mon, 07 Dec 2020 12:54:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1CAD99403EE for ; Mon, 7 Dec 2020 12:54:40 +0000 (UTC) Received: from localhost ([::1]:59314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmG2J-0002ER-0Q for larch@yhetil.org; Mon, 07 Dec 2020 07:54:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmFEN-00005Z-Fd for bug-guix@gnu.org; Mon, 07 Dec 2020 07:03:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmFEM-0006CJ-2P for bug-guix@gnu.org; Mon, 07 Dec 2020 07:03:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmFEL-0002WR-VY for bug-guix@gnu.org; Mon, 07 Dec 2020 07:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#41906: [mumi] Raw mailbox download not usable with mutt Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Dec 2020 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41906 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Received: via spool by 41906-submit@debbugs.gnu.org id=B41906.16073425359640 (code B ref 41906); Mon, 07 Dec 2020 12:03:01 +0000 Received: (at 41906) by debbugs.gnu.org; 7 Dec 2020 12:02:15 +0000 Received: from localhost ([127.0.0.1]:52746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmFDa-0002VP-OC for submit@debbugs.gnu.org; Mon, 07 Dec 2020 07:02:15 -0500 Received: from imta-36.everyone.net ([216.200.145.36]:33758 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmFDY-0002VG-6Q for 41906@debbugs.gnu.org; Mon, 07 Dec 2020 07:02:13 -0500 Received: from pps.filterd (omta002.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 0B7BxOXn027138; Mon, 7 Dec 2020 04:02:10 -0800 X-Eon-Originating-Account: vsCoRBzzq3hd6JZEAgdsWrXUqZyzq9adY8UudmmJHCU X-Eon-Dm: m0116952.ppops.net Received: by m0116952.mta.everyone.net (EON-AUTHRELAY2 - 53b92cb4) id m0116952.5f8a0279.9cd9cb; Mon, 7 Dec 2020 04:02:09 -0800 X-Eon-Sig: AQMHrIJfzhnB3jmS5AIAAAAD,d718d10518985b783386a284ceb7247f X-Eip: cDWju__r8zgdQ5q77iFR69HVVxbAGj5IN707IhGLUw4 Date: Mon, 7 Dec 2020 13:02:00 +0100 From: Bengt Richter Message-ID: <20201207120200.GA11867@LionPure> References: <20200617070312.GA3092@zpidnp36> <87tusy6do3.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87tusy6do3.fsf@elephly.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-07_10:2020-12-04, 2020-12-07 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 clxscore=1034 priorityscore=1501 adultscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012070078 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: Lars-Dominik Braun , 41906@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 1CAD99403EE X-Spam-Score: -1.80 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: CqRH2e1+5xu2 Hi Ricardo, et al, On +2020-12-06 18:35:08 +0100, Ricardo Wurmus wrote: > > Hi Lars, > > > currently mailbox files generated by mumi’s /raw/ endpoint are not usable with > > mutt, because the first line contains a “Received:” header and thus does not > > start with the mandated “From …” banner. > > Does the equivalent mbox provided by the official Debbugs web interface > work? This endpoint is called “raw” because it returns the plain email > as I got it from Debbugs. It doesn’t seem right for me to manipulate it. > > -- > Ricardo > > On a guix debbugs web page I observed the following: The option to download a single bug report on a debbugs web page as mbox seems to work fine. E.g., the page with your report https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38715#28 has a link https://debbugs.gnu.org/cgi/bugreport.cgi?mbox=yes;msg=28;bug=38715 which one can save-as, resulting in file bug_38715_message_28.mbox which mutt -f bug_38715_message_28.mbox will show normally. But I don't, e.g., know how to get all the debbugs guix bug reports for e.g. December the way I can for the regular mailing list archives -- does mumi do that? -- e.g. like for bug-guix at https://lists.gnu.org/archive/mbox/bug-guix/ where you can wget -c https://lists.gnu.org/archive/mbox/bug-guix/2020-12 resulting in an mbx file 2020-12 which mutt -Rf 2020-12 will open for you (I use -R for read-only) The '-c' wget option tells wget just to download the new appended emails if you already have the 2020-12 file in your current directory, so that's economical :) I follow half a dozen or so gnu mail lists that I don't subscribe to, and wget -c works fine on all of them. The YYYY-MM format seems to be generated like "$(date '+%Y-%m')" so it's easy to script urls for wget. It might be nice for debbugs to synthesize cgi-equivalents to https://lists.gnu.org/archive/mbox/bug-guix/2020-12 for lists that want it. Maybe by a debbugs name like https://lists.gnu.org/archive/mbox/debbugs-guix/2020-12 and similarly for other bug- ? Maybe it already exists, but it's not apparently listed at https://lists.gnu.org/mailman/listinfo/ (though help-debbugs is, but that is a normal mailing list I think :) Sorry if this is not on topic mumi per se, but it is about viewing bug reports using mutt on mbox files :) I don't use mumi, but if it doesn't have clean mbox as an output option, I think it ought to be fixed :) -- Regards, Bengt Richter