Rebecca Cran <[email protected]> wrote:
> I'm trying to set up a public-inbox instance to mirror the edk2-devel
> mailing list. I'm using version 1.9.0.
> 
> I'm having problems importing a mirror of 105,000 messages from 2016 onward
> - when I configured it to pull them from an IMAP server it appeared to go
> through all of them, but then the web interface only showed the last 10 or
> so, with no more pages and the edk2-devel.git directory is only a few MB.
> 
> When imap didn't work, I tried downloading them into a maildir and tried
> importing them via that instead, but that isn't working either.

OK, so I suppose it's a matching problem because the matching
logic is shared between IMAP and Maildir.

> [publicinbox "edk2-devel"]
>     address = [email protected]
>     inboxdir = /home/public-inbox/edk2-devel.git

>     watchheader = List-Id:<devel.edk2.groups.io>

Any chance that List-Id doesn't match the older messages?

You are allowed multiple `watchheader' directives for an inbox
to account for address/name changes and such (and older headers
such as `X-BeenThere')

I haven't tried it, but this should work as long as you want
every message in a watched Maildir (or IMAP folder):

        watchheader = From:.

...which matches all messages with a literal `.' in the From: header;
so practically every valid message.  Likewise for Received:, Date:
or any practically-always-present header:value-substring combo.

I think everything else in your configs+commands looked fine;
but I'm still struggling with lack-of-sleep and could've missed
things :<


I designed the `watchheader' directives to handle multiple lists
funneled into one Maildir; but I suppose it's less intuitive for
users with a 1:1 list => Maildir mapping :x

Reply via email to