.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "LEI-TAG 1" .TH LEI-TAG 1 1993-10-02 public-inbox.git "public-inbox user manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME lei\-tag \- set/unset metadata on messages .SH SYNOPSIS .IX Header "SYNOPSIS" lei tag [OPTIONS] FILE [FILE...] METADATA [METADATA...] .PP lei tag [OPTIONS] (\-|\-\-stdin) METADATA [METADATA...] .SH DESCRIPTION .IX Header "DESCRIPTION" Set or unset volatile metadata on messages. In JMAP terms, "volatile metadata" includes "mailboxes" (analogous to a folder or label) and a restricted set of "keywords". This supported keywords are the combination of system keywords (seen, answered, flagged, and draft), which map to Maildir flags and mbox Status/X\-Status headers, as well as reserved keywords (forwarded, phishing, junk, and notjunk). .PP To add a label or keyword, prefix it with "+L:" and "+kw:", respectively. To remove a label or keyword, use "\-L:" or "\-kw:". For example, "+kw:flagged" would set the "flagged" keyword for the specified messages, and "\-L:INBOX" would remove the "INBOX" label. .SH OPTIONS .IX Header "OPTIONS" .IP "\-F MAIL_FORMAT" 4 .IX Item "-F MAIL_FORMAT" .PD 0 .IP \-\-in\-format=MAIL_FORMAT 4 .IX Item "--in-format=MAIL_FORMAT" .PD Message input format: \f(CW\*(C`eml\*(C'\fR, \f(CW\*(C`mboxrd\*(C'\fR, \f(CW\*(C`mboxcl2\*(C'\fR, \f(CW\*(C`mboxcl\*(C'\fR, or \&\f(CW\*(C`mboxo\*(C'\fR. .Sp Default: \f(CW\*(C`eml\*(C'\fR .IP \-q 4 .IX Item "-q" .PD 0 .IP \-\-quiet 4 .IX Item "--quiet" .PD Suppress feedback messages. .SH LABELS .IX Header "LABELS" Labels are user-defined values analogous to IMAP/JMAP mailbox names. They must only contain lowercase characters, digits, and a limited amount of punctuation (e.g. \f(CW\*(C`.\*(C'\fR, \f(CW\*(C`\-\*(C'\fR, \f(CW\*(C`@\*(C'\fR). .PP Messages may have multiple labels. .SH KEYWORDS .IX Header "KEYWORDS" Keywords are "flags" in Maildir and IMAP terminology. Common keywords include: \f(CW\*(C`seen\*(C'\fR, \f(CW\*(C`answered\*(C'\fR, \f(CW\*(C`flagged\*(C'\fR, and \&\f(CW\*(C`draft\*(C'\fR, though \f(CW\*(C`forwarded\*(C'\fR, \f(CW\*(C`phishing\*(C'\fR, \f(CW\*(C`junk\*(C'\fR, and \f(CW\*(C`notjunk\*(C'\fR are also supported. .PP When writing to various mboxes, the common keywords will be mapped to the \f(CW\*(C`Status\*(C'\fR and \f(CW\*(C`X\-Status\*(C'\fR headers. .PP Messages may have multiple keywords. .SH CONTACT .IX Header "CONTACT" Feedback welcome via plain-text mail to .PP The mail archives are hosted at and .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright 2021 all contributors .PP License: AGPL\-3.0+ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlei\-add\-external\fR\|(1)