[libre-riscv-dev] [Bug 181] test and install public-inbox

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Mon Feb 17 13:05:43 GMT 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=181

--- Comment #9 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to vklr at vkten.in from comment #7)
> One thing I forgot to mention that reading Maildir using mailman2 requires
> running as root.
> 
> (In reply to Luke Kenneth Casson Leighton from comment #6)
> > (In reply to vklr at vkten.in from comment #3)
> > > The relevant flows for exim4 + mailman2 + public-inbox setup
> > > 
> > > 1) exim4 -> Maildir
> > >    mailman2 -> exim4
> > 
> > it is more exim4 -> mailman2.
> 
> Yeah, just used as some sort of connection indicator.
> Should have used "---" instead.
> 
> > 
> > >    public-inbox
> > >      public-inbox-mda -> needs msg from stdin
> > >        mailman2 external archiver method can be used
> > 
> > ah what is that? can you show links etc about that?
> > 
> 
> About public-inbox:
> <link https://public-inbox.org/>
> <link https://public-inbox.org/flow.html>
> <link https://public-inbox.org/public-inbox-mda.html>
> <link https://public-inbox.org/public-inbox-watch.html>
> 
> Are you also asking info about mailman2 external archiver method?

yes.  if that "works" - by public-inbox literally parsing the pipermail
list structure, that's fantastic.

however...

i *believe*... after talking to Eric... that even that method expects to
see the archives (the actual messages) in "Maildir" format,
*even over the internet i.e. via HTTP*.

whereas what pipermail does - i think - is expose the mbox contents, directly, 
on a monthly basis.

i could be wrong: i don't honestly know.

> 
> > >         or
> > >        may be some way of getting input from exim4
> > >       or
> > >      public-inbox-watch -> needs the exim4 Maildir
> > 
> > unfortunately we need to extract the mbox formatted archives as well. i have
> > seen mbox 2 maildir converters, online.
> > 
> 
> mb2md does this.
> <link https://packages.debian.org/buster/mb2md>
> <link http://batleth.sapienti-sat.org/projects/mb2md/> Homepage
> 
> Also can you give me the low level flow detail between exim4 and mailman2?

i can't - i literally did "apt-get install mailman2" and followed
online instructions on "debian exim4 mailman2 howto" and that was it.

i didn't *understand* those instructions, i simply followed them.

> I mean how they exchange data. 

i *believe* - infer / deduce / hypothesise - that "mbox" format is used.
namely, that exim4 gets configured to "drop the incoming list email
into an mbox-formatted file" which mailman2 is then (separately,
in mm_config.py) configured (as per instructions which i read and followed
to the letter, mentioned above) to monitor.

> As I can't make out from installation
> instructions. They are abstract. Quick read did not showed it.
> Or else I will read, install and read more about it.

now you get why i am reluctant to mess with the live setup.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list