On Thu, Sep 02, 2021 at 09:58:50PM +0000, Eric Wong wrote:
> OK, there's two main commands, "lei q" and "lei up".
> Both of which may prompt for passwords depending on how
> git-credential is set up:
> 
>       # the destination, could be Maildir
>       MFOLDER=imaps://[email protected]/INBOX.landlock
> 
>       # initial search:
>       lei q -o $MFOLDER -t -I https://lore.kernel.org/all/ --stdin <<EOF
>       (
>               dfn:Documentation/security/landlock.rst OR
>               dfn:Documentation/userspace-api/landlock.rst OR
>               dfn:include/uapi/linux/landlock.h OR
>               dfn:samples/landlock/ OR
>               dfn:security/landlock/ OR
>               dfn:tools/testing/selftests/landlock/ OR
>               dfhh:landlock
>       ) AND rt:2.months.ago..
>       EOF
> 
>       # update whenever, may prompt for IMAP password, but could be
>       # cron-ed or similar if passwords are cached
>       lei up $MFOLDER
> 
>       # Optional: tweaking the search parameters can be done via
>       lei edit-search $MFOLDER

If I had a local mirror with extindex and I wanted to do the same thing, would
I just modify the -I flag to point at the extindex location? One of the
options I want to investigate is making IMAP/POP3 accessible individual
mailboxes fed by lei, such that a new subsystem maintainer could have a
ready-made mailbox available to them without needing to subscribe/unsubscribe
to a bunch of mailing lists. (This would be different from read-only imap
mailboxes offered by public-inbox-imapd, since we'll be tracking individual
message state. The POP3 bit would allow them to plug it into something like
Gmail which allows sucking down remote POPs.)

-K

Reply via email to