unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Rebecca Cran <rebecca@bsdio.com>
To: meta@public-inbox.org
Subject: Help setting up a public-inbox instance: importing from maildir archive isn't working
Date: Tue, 13 Jun 2023 08:49:39 -0600	[thread overview]
Message-ID: <b0094723-8742-354f-ee9c-7b8747fce8af@bsdio.com> (raw)

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.

I was wondering if someone on this list could help point out what I'm 
doing wrong.


The maildir is:


~$ du -h Maildump/
4.0K    Maildump/Mail/cur
4.0K    Maildump/Mail/tmp
2.5G    Maildump/Mail/new
2.5G    Maildump/Mail
2.5G    Maildump/

I'm using the following configuration in ~/.public-inbox/config:


[publicinbox]
     wwwlisting = all

[publicinbox "edk2-devel"]
     address = devel@edk2.groups.io
     inboxdir = /home/public-inbox/edk2-devel.git
     watchheader = List-Id:<devel.edk2.groups.io>
     url = https://openfw.io/edk2-devel
     watch = maildir:/home/public-inbox/Maildump/Mail/
     watch = imaps://imap.example.net/INBOX ; redacted
     indexlevel = full
     replyto = :list
     spamcheck = none
     obfuscate = true


Authentication for the imap server is handled via git-credential.

I'm running the following commands:


public-inbox-init -V2 -L full edk2-devel 
/home/public-inbox/edk2-devel.git https://openfw.io/edk2-devel 
devel@edk2.groups.io

public-inbox-watcher # I run this in a screen session

public-inbox-httpd     # I run this in a separate screen session, once 
public-inbox-watcher appears to have processed the existing messages


-- 

Rebecca Cran


             reply	other threads:[~2023-06-13 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 14:49 Rebecca Cran [this message]
2023-06-14  9:44 ` Help setting up a public-inbox instance: importing from maildir archive isn't working Eric Wong
2023-06-19 19:12   ` Rebecca Cran
2023-06-20  2:56     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0094723-8742-354f-ee9c-7b8747fce8af@bsdio.com \
    --to=rebecca@bsdio.com \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).