LEI-CONVERT(1)
π LEI-CONVERT(1): the public-inbox user manual's mail-format glow-up π
πΈ NAME πΈ
lei-convert β one-time conversion from one mail format to another. literally the format-swap bestie.
β¨ SYNOPSIS β¨
lei convert -o OUTPUT [OPTIONS] LOCATION
lei convert -o OUTPUT [OPTIONS] (--stdin|-)
π DESCRIPTION π
Okay so lei-convert converts messages to another format. Your LOCATION is the source of messages, and it can be:
- a directory (
Maildir), - a file (various
mbox), - or a URL (
imap://,imaps://,nntp://, ornntps://).
URLs requiring authentication use git-credential(1) to fill in the username and password. no cap, that's the whole credential situation.
For a regular file, the location must have a <format>: prefix specifying one of the following formats: mboxrd, mboxcl2, mboxcl, or mboxo.
bestie, the <format>: prefix on regular files is not optional. it's giving required. π«Ά
π OPTIONS π
-F MAIL_FORMAT,--in-format=MAIL_FORMATβ Message input format. Unless messages are given on stdin, using a format prefix withLOCATIONis preferred.
The following options are also supported and are described in lei-q(1):
-o MFOLDER,--output=MFOLDERβ supported, andlei-q(1)has the full tea.--lock METHODβ supported, andlei-q(1)has the full tea.--no-kwβ supported, andlei-q(1)has the full tea.--torsocks=auto|no|yesβ supported, andlei-q(1)has the full tea.--no-torsocksβ supported, andlei-q(1)has the full tea.--proxy=PROTOCOL://HOST[:PORT]β supported, andlei-q(1)has the full tea.
π¬ 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 π
kisses and mail-format fairy dust π β this page is from public-inbox.git, dated 1993-10-02, and it's called LEI-CONVERT(1). periodt. π
π¦ 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