3 lei - local email interface
11 lei is a command-line tool for importing and searching email,
12 regardless of whether it is from a personal mailbox or a public-inbox.
13 lei supports a local, writable store built on top of
14 L<public-inbox-v2-format(5)> and L<public-inbox-extindex(1)>.
15 L<lei-q(1)> provides an interface for querying messages across the lei
16 store and read-only local and remote "externals" (inboxes and external
19 Warning: lei is still in its early stages and may destroy mail.
20 Be sure to have backups of destinations lei writes to.
22 Available in public-inbox 1.7.0+.
30 Override configuration C<NAME> to C<VALUE>.
34 Change current working directory to the specified directory before
35 running the command. This option can be given before or after
36 C<COMMAND> and is accepted by all lei subcommands except
37 L<lei-daemon-kill(1)>.
43 Subcommands for initializing and managing local, writable storage:
47 =item * L<lei-init(1)>
49 =item * L<lei-import(1)>
55 The following subcommands can be used to manage and inspect external
60 =item * L<lei-add-external(1)>
62 =item * L<lei-forget-external(1)>
64 =item * L<lei-ls-external(1)>
68 Subcommands related to searching and inspecting messages from the lei
69 store and configured externals are
73 =item * L<lei-blob(1)>
81 Other subcommands include
85 =item * L<lei-config(1)>
87 =item * L<lei-daemon-kill(1)>
89 =item * L<lei-daemon-pid(1)>
91 =item * L<lei-ls-label(1)>
97 By default storage is located at C<$XDG_DATA_HOME/lei/store>. The
98 configuration for lei resides at C<$XDG_CONFIG_HOME/lei/config>.
102 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
104 The mail archives are hosted at L<https://public-inbox.org/meta/> and
105 L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
109 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
111 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>