Man page - lei-tag(1)
Packages contains this manual
- lei-config(1)
- lei-edit-search(1)
- lei-index(1)
- lei-add-external(1)
- lei-daemon(8)
- lei-rm(1)
- lei-init(1)
- lei-ls-mail-sync(1)
- lei-p2q(1)
- lei-up(1)
- lei-daemon-pid(1)
- lei(1)
- lei-blob(1)
- lei-ls-external(1)
- lei-overview(7)
- lei-mail-diff(1)
- lei-mail-sync-overview(7)
- lei-ls-watch(1)
- lei-rediff(1)
- lei-ls-search(1)
- lei-forget-mail-sync(1)
- lei-lcat(1)
- lei-ls-label(1)
- lei-export-kw(1)
- lei-store-format(5)
- lei-import(1)
- lei-inspect(1)
- lei-daemon-kill(1)
- lei-rm-watch(1)
- lei-mail-formats(5)
- lei-ls-mail-source(1)
- lei-security(7)
- lei-refresh-mail-sync(1)
- lei-forget-search(1)
- lei-convert(1)
- lei-add-watch(1)
- lei-q(1)
- lei-tag(1)
- lei-forget-external(1)
apt-get install lei
Manual
LEI-TAG
NAMESYNOPSIS
DESCRIPTION
OPTIONS
LABELS
KEYWORDS
CONTACT
COPYRIGHT
SEE ALSO
NAME
lei-tag - set/unset metadata on messages
SYNOPSIS
lei tag [ OPTIONS ] FILE [ FILE... ] METADATA [ METADATA... ]
lei tag [ OPTIONS ] (-|--stdin) METADATA [ METADATA... ]
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).
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.
OPTIONS
-F
MAIL_FORMAT
--in-format=MAIL_FORMAT
Message input format: "eml", "mboxrd", "mboxcl2", "mboxcl", or "mboxo".
Default: "eml"
|
-q |
--quiet
Suppress feedback messages.
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. ".", "-", "@").
Messages may have multiple labels.
KEYWORDS
Keywords are "flags" in Maildir and IMAP terminology. Common keywords include: "seen", "answered", "flagged", and "draft", though "forwarded", "phishing", "junk", and "notjunk" are also supported.
When writing to various mboxes, the common keywords will be mapped to the "Status" and "X-Status" headers.
Messages may have multiple keywords.
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 2021 all contributors <mailto:meta@public-inbox.org>
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
SEE ALSO
lei-add-external (1)