lei-convert(1)

lei-convert1

One-time conversion from one mail format to another

Usage

lei convert -o OUTPUT [OPTIONS] LOCATION

lei {convert -o OUTPUT [OPTIONS] (--stdin | -)}

Overview

Convert messages to another format. "LOCATION" is a source of messages: a directory (Maildir), a file (various mbox), or a URL ("imap://", "imaps://", "nntp://", or "nntps://"). URLs requiring authentication use git-credential(1) to fill in the username and password.

For a regular file, the location must have a "<format>:" prefix specifying one of the following formats: "mboxrd", "mboxcl2", "mboxcl", or "mboxo".

Options

-F MAIL_FORMAT
--in-format=MAIL_FORMAT

Message input format. Unless messages are given on stdin, using a format prefix with "LOCATION" is preferred.

The following options are also supported and are described in lei-q(1).

-o MFOLDER, --output=MFOLDER
--lock METHOD
--no-kw
--torsocks=auto|no|yes
--no-torsocks
--proxy=PROTOCOL://HOST[:PORT]

Contact

Feedback welcome via plain-text mail to <mailto:[email protected]>

The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

From lei 2.1.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.