LEI(1)
π LEI(1) β local email interface (public-inbox user manual) π
π NAME π
lei β local email interface. That's the whole vibe, bestie: your terminal bestie for mail.
β¨ SYNOPSIS β¨
lei [OPTIONS] COMMAND
π¦ DESCRIPTION π¦
okay so lei is a command-line tool for importing and searching email, regardless of whether it is from a personal mailbox or a public-inbox. It supports a local, writable store built on top of public-inbox-v2-format(5) and public-inbox-extindex(1). lei-q(1) provides an interface for querying messages across the lei store and read-only local and remote "externals" (inboxes and external indices).
β οΈ Warning:leiis still in its early stages and may destroy mail. Be sure to have backups of destinationsleiwrites to. Seriously, bestie β back it up.
Available in public-inbox 1.7.0+.
πΈ OPTIONS πΈ
-c NAME=VALUEβ override configurationNAMEtoVALUE.-C DIRβ change current working directory to the specified directory before running the command. This option can be given before or afterCOMMANDand is accepted by allleisubcommands exceptlei-daemon-kill(1).
π COMMANDS π
Subcommands for initializing and managing local, writable storage:
The following subcommands can be used to manage and inspect external locations:
Subcommands related to searching and inspecting messages from the lei store and configured externals are:
lei-blob(1)lei-config(1)lei-edit-search(1)lei-forget-search(1)lei-lcat(1)lei-ls-search(1)lei-p2q(1)lei-q(1)lei-rediff(1)lei-up(1)
Other subcommands include:
lei-add-watch(1)lei-config(1)lei-convert(1)lei-daemon-kill(1)lei-daemon-pid(1)lei-forget-mail-sync(1)lei-mail-diff(1)lei-inspect(1)lei-ls-label(1)lei-ls-mail-source(1)lei-ls-mail-sync(1)lei-ls-watch(1)lei-rm-watch(1)
π FILES π
By default, storage is located at $XDG_DATA_HOME/lei/store. The configuration for lei resides at $XDG_CONFIG_HOME/lei/config.
π§ ERRORS π§
Errors and diagnostics for interactive commands are reported to stderr. Some errors for background tasks are emitted via syslog(3) as lei-daemon(8) for the top-level daemon, and lei/store for the lei-store-format(5) worker.
π CONTACT π
Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org>
The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
π COPYRIGHT π
Copyright all contributors <mailto:meta@public-inbox.org>
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
π SEE ALSO π
lei-overview(7), lei-daemon(8)
okay that's the whole page, bestie π«Ά source/version: public-inbox.git β’ date: 1993-10-02 β’ manual: LEI(1) β mwah π
π¦ where this page comes from
- arch rolling: lei 2.1.0-2 Β· AGPL
- nixos 26.05: perl5.42.3-public-inbox 2.1.0
- nixpkgs unstable: perl5.42.3-public-inbox 2.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms