user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Eric Wong <e@yhbt.net>
Cc: meta@public-inbox.org
Subject: Re: setting up mailman2 and public-inbox
Date: Wed, 11 Mar 2020 11:58:15 +0000	[thread overview]
Message-ID: <CAPweEDyK7FZKCk3rszy2-7ODQ5=NWAy4aaG84Rx6pc1qoixzTQ@mail.gmail.com> (raw)
In-Reply-To: <20200311103304.GA21129@dcvr>

On Wed, Mar 11, 2020 at 10:33 AM Eric Wong <e@yhbt.net> wrote:

> Add a regular subscriber that receives mail via normal Mailman
> methods.
>
> Then setup public-inbox-watch to watch a Maildir that normal
> subscriber receives mail in.  The top of public-inbox-watch(1)
> manpage should give a reasonably complete example.

ahhh hurrah.

> I use offlineimap for IMAP <-> Maildir sync, but mbsync works
> just as well.  There's other methods, of course.

i like offlineimap.  we've not got an imap server set up however (my
experiences with cyrus2.2 and exim4 are well-documented and the source
of much amusement)

> There's absolutely no requirement for public-inbox to even run
> on the same machine as mailman|exim.  I run https://public-inbox.org/git/
> and do so using public-inbox-watch just as a regular subscriber
> with no special access to kernel.org whatsoever.

fortunately there are no local users on the server (at all) so playing
with it, to get this set up does no "damage".

> mbox is really only useful for one-shot imports and the
> scripts/import_vger_from_mbox example script was recently
> updated in git master to be more flexible.

ok good to know.

> > if we subscribe a local user on the server (inbox@libre-riscv.org) to
> > the actual list, then configure that local account to have mail
> > delivered Maildir format, would that do the trick?
>
> Exactly :)

hurrah :)

> I also suggest something to cleanup old messages, something
> like:
>
>         find /path/to/maildir -type f -ctime +14 -print0 | xargs -0 rm -f
>
> To delete all messages older than 14 days
>
> I'd like to eventually have an auto-deleter which verifies the
> message is successfully imported into an inbox (and not rejected
> as spam or triggered some other error).

yeah that would be really clean.  or, perhaps allow move the message
to a "read" Maildir folder?

thanks eric.

l.

  reply	other threads:[~2020-03-11 11:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-04 18:42 setting up mailman-to-atom-converter then atom-to-public-inbox Luke Kenneth Casson Leighton
2020-02-04 20:55 ` Eric Wong
2020-02-04 21:49   ` Luke Kenneth Casson Leighton
2020-02-04 22:14     ` Eric Wong
     [not found]       ` <CAPweEDy1qTK93pXDKdbT-HqJV184fH7x0hqqJYDTMv_nxvoKqQ@mail.gmail.com>
2020-02-05  0:10         ` Eric Wong
     [not found]           ` <CAPweEDyYA+38B4uc+stMpZ9q6CrHaaAAkkorCuH4ONHmhBXbXg@mail.gmail.com>
2020-02-05  0:43             ` Eric Wong
2020-02-05  1:02               ` Kyle Meyer
2020-02-05  1:04                 ` Eric Wong
2020-03-10  0:07   ` setting up mailman2 and public-inbox Luke Kenneth Casson Leighton
2020-03-11 10:33     ` Eric Wong
2020-03-11 11:58       ` Luke Kenneth Casson Leighton [this message]
2020-03-11 12:47         ` Luke Kenneth Casson Leighton

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: http://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='CAPweEDyK7FZKCk3rszy2-7ODQ5=NWAy4aaG84Rx6pc1qoixzTQ@mail.gmail.com' \
    --to=lkcl@lkcl.net \
    --cc=e@yhbt.net \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

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).