3 lei-import - one-time import of messages into local store
7 lei import [OPTIONS] LOCATION [LOCATION...]
9 lei import [OPTIONS] --stdin
13 Import messages into the local storage of L<lei(1)>. C<LOCATION> is a
14 source of messages: a directory (Maildir) or a file. For a regular
15 file, the location must have a C<E<lt>formatE<gt>:> prefix specifying
16 one of the following formats: C<eml>, C<mboxrd>, C<mboxcl2>,
17 C<mboxcl>, or C<mboxo>.
19 TODO: Update when URL support is added.
25 =item -f MAIL_FORMAT, --format=MAIL_FORMAT
27 Message input format. Unless messages are given on C<stdin>, using a
28 format prefix with C<LOCATION> is preferred.
32 Read messages from stdin.
34 =item --no-kw, --no-keywords, --no-flags
36 Don't import message keywords (or "flags" in IMAP terminology).
42 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
44 The mail archives are hosted at L<https://public-inbox.org/meta/>
45 and L<http://hjrcffqmbrq6wope.onion/meta/>
49 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
51 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
56 L<lei-add-external(1)>