From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EH9EDt1udWMpsAAAbAwnHQ (envelope-from ) for ; Thu, 17 Nov 2022 00:14:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YIQ6Dt1udWNiXgEAauVa8A (envelope-from ) for ; Thu, 17 Nov 2022 00:14:37 +0100 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 79711139E5 for ; Thu, 17 Nov 2022 00:14:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovRbV-0005EY-9k; Wed, 16 Nov 2022 18:14:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovRbT-0005EE-92 for help-guix@gnu.org; Wed, 16 Nov 2022 18:13:59 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovRbR-0005ND-11 for help-guix@gnu.org; Wed, 16 Nov 2022 18:13:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ADA86240101 for ; Thu, 17 Nov 2022 00:13:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1668640434; bh=wHBvlMHvAUsOmBAhvHxLxUoARRoNfbOmetomfriuNGQ=; h=From:To:Subject:Date:From; b=MbsoiXsq9gxFyRwwRuweYqC8/uKe47TzMk/QvXh9xZt0mQNHNm4/+MFZkZx9F5q41 obHZduxiOi4Ty3CMlxPXLgQtZW3vtefK3SfpgIo1N9/2LASTiXPrY1pj6FhA4suPPd lJRcF6MEOmdVWN7nyWCL5T7kbbn5cvvoeWClqYbeWocaPp0QOkh6XF1cv8ZGiioNaH xhsK7tp+yk/SbaF29/tNku7ibiK3sAac0CIEwd2G6dPVRX3ikvEBUtYkLlKYmqIExj yeP3NrAmOzNBErvSnbJj0NSAiJ3g6UiDUPjBx18WV17JBAN2KLlA3dr/CLDoFHcdXB oPYHYaQspdLQQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NCJl46fz4z6tmQ; Thu, 17 Nov 2022 00:13:52 +0100 (CET) From: Mekeor Melire To: help-guix Subject: This is how you import a mailing list archives (e.g. guix-patches) into mu4e Date: Wed, 16 Nov 2022 23:04:25 +0000 Message-ID: <878rka8pcj.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668640476; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ap02ewK7QMIXJBkvcmNd6hVcLqGcQ0CGXQWncCpnxKk=; b=GynQxULZO/24khnKqPykVAatLI74r/oVNWgQ+ZWFojAlc7t+2AR6jFJaLkkoxAfi8DalFA dH5ttwF2a6haNrubxmLd0tDMoJTTfQx7985TWX6uDIfi4/odN0p3mcXsYw6/+qowX2qKrv lS1sS8mI0LcPgbn42W4cHWRquF2YjqYwlPsualoSIrVjNTEgS8xXTuLDt4NfqzVqlXl1s8 +TgNKL1+G2ITOmW/LuD/GSVBbcBehT0x+OAnQr2+hLuHBqR6sFQxd3J/BR04Kw8OONSQ6e tRhWTZs1GX976pyePw/XglZ1i7r1IB6pDZhmkbUuIAuQPjCp570V6wsPmO7s8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668640476; a=rsa-sha256; cv=none; b=u4srdk8jaw5YY7XiIwZ6OEUQmRLvL7vg71waSijuhYV9yOfM+5PTlNiiUY2ad06CEh4Q3K xMfh9YRIL9RQt86FsvEFyrXDtgFolZBXYhP50lfMaoAzBYDQ/lQ16Xb2sWzewebMcFe+5r kZx2IaS8uyVyGN9s7kehVD+rnu3nm0iyUxarBEaQIc0azjR9WrtfFApLBD+kTcu7L5uvZ3 7pdnkVmNGxKK3MQ+GuckZdPzz1JZ2ps5vDL7gsD/RA5tra7ehvzcedihIgIzFWG7p11yIq QC9cLWViNTYmeX5of/Rg6yhHtSYhTZrEM+8cvu7efm4jMTV11tMFyKo+wsTxCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=MbsoiXsq; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=MbsoiXsq; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 79711139E5 X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8DXC+lqL/tdF Hello Guix, you might want to import a mailing-list-archive into mu4e. E.g. because debbugs.el is slow, you might want to import the archives of the guix-patches mailing list. This is how to do so. First, download the archives as in the "mbox" format -- the only format that Mailman offers: --8<---------------cut here---------------start------------->8--- cd ~/some/where for y in {2017..2022}; do for m in {01..12}; do curl --fail "https://lists.gnu.org/archive/mbox/guix-patches/$y-$m" > "$y-$m" || rm "$y-$m"; done; done --8<---------------cut here---------------end--------------->8--- Now, download and run a perl-tool named "mb2md" to convert the mboxes into maildirs: --8<---------------cut here---------------start------------->8--- mkdir tool maildir curl http://batleth.sapienti-sat.org/projects/mb2md/mb2md-3.20.pl.gz \ --output tool/mb2md.pl.gz gzip -d tool/mb2md.pl.gz chmod 755 tool/mb2md.pl guix shell perl perl-datetime perl-timedate for f in $(realpath ./mbox)/*; do perl tool/mb2md.pl -s "$f" -d $(realpath mailbox); done exit --8<---------------cut here---------------end--------------->8--- Next, you might want to mark all mails in that maildir as "read": --8<---------------cut here---------------start------------->8--- guix shell mblaze mlist -s ./mailbox | mflag -S exit --8<---------------cut here---------------end--------------->8--- Finally, move that maildir to its destination: --8<---------------cut here---------------start------------->8--- mv maildir ~/path/to/maildirs/guix-patches --8<---------------cut here---------------end--------------->8--- Enjoy!