X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei-import.pod;h=ad769084c05cf9da4ebe176a06273d6cfb2f18ce;hb=HEAD;hp=2051e6bc86c5fd36b441f01ced436bc8745d5fd2;hpb=56b3493c79087979f10f5a3cae7deedaf4ec9fa3;p=public-inbox.git diff --git a/Documentation/lei-import.pod b/Documentation/lei-import.pod index 2051e6bc..69ec6497 100644 --- a/Documentation/lei-import.pod +++ b/Documentation/lei-import.pod @@ -4,53 +4,103 @@ lei-import - one-time import of messages into local store =head1 SYNOPSIS -lei import [OPTIONS] LOCATION [LOCATION...] +lei import [OPTIONS] LOCATION [LOCATION...] [+L:LABEL] -lei import [OPTIONS] --stdin +lei import [OPTIONS] (--stdin|-) =head1 DESCRIPTION -Import messages into the local storage of L. C is a -source of messages: a directory (Maildir) or a file. For a regular -file, the location must have a CformatE:> prefix specifying -one of the following formats: C, C, C, -C, or C. +Import messages into the local storage of L +(aka Lstore|lei-store-format(5)>). C is a +source of messages: a directory (Maildir), a file, or a URL +(C, C, C, or C). URLs requiring +authentication use L to +fill in the username and password. -TODO: Update when URL support is added. +For a regular file, the C must have a CformatE:> +prefix specifying one of the following formats: C, +C, C, or C. =head1 OPTIONS =over -=item -f MAIL_FORMAT, --format=MAIL_FORMAT +=item -F MAIL_FORMAT -Message input format. Unless messages are given on C, using a +=item --in-format=MAIL_FORMAT + +Message input format. Unless messages are given on stdin, using a format prefix with C is preferred. =item --stdin Read messages from stdin. -=item --no-kw, --no-keywords, --no-flags +=item --lock + +L locking method(s) to use: C, C, C or +C. + +Default: fcntl,dotlock + +=item +L:LABEL + +Add the given C