[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: This is how you import a mailing list archives (e.g. guix-patches) i
From: |
zimoun |
Subject: |
Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e |
Date: |
Wed, 07 Dec 2022 11:38:23 +0100 |
Hi Kyle,
On Tue, 06 Dec 2022 at 21:02, Kyle Meyer <kyle@kyleam.com> wrote:
> I haven't used it myself (unsurprisingly I have an interest in keeping
> yhetil.org's inboxes replicated on my local machine), but I think you
> can keep grokmirror clones shallow by hooking up its grok-pi-piper to
> the post-update hook. Here's a relevant bit from grokmirror's docs:
>
> --8<---------------cut here---------------start------------->8---
> [DEFAULT]
> # To start piping public-inbox messages into your inbox, simply
> # install procmail and add the following line to your ~/.procmailrc:
> # DEFAULT=$HOME/Maildir/
> # You can now read your mail with "mutt -f ~/Maildir/"
> pipe = /usr/bin/procmail
> # Once you've successfully piped the messages, you generally
> # don't need them any more. If you set shallow = yes, then
> # the repository will be configured as "shallow" and all succesffully
> # processed messages will be pruned from the repo.
> # This will greatly reduce disk space usage, especially on large archives.
> # You can always get any number of them back, e.g. by running:
> # git fetch _grokmirror master --deepen 100
> shallow = yes
> --8<---------------cut here---------------end--------------->8---
Cool! I will give a look and report if I am happy with it. :-)
Cheers,
simon