doveadm " [" -Dv "] " flags " [" -S socket_path "] " "command flags search_query" -A -------------------------------------
doveadm " [" -Dv "] " flags " [" -S socket_path "] " "command flags search_query" "-F " file -------------------------------------
doveadm " [" -Dv "] " flags " [" -S socket_path "] " "command flags search_query" "-u " user ------------------------------------------------------------------------
@INCLUDE:global-options@ -------------------------------------
Command specific
options : -------------------------------------
@INCLUDE:option-A@
-------------------------------------
@INCLUDE:option-F-file@
-------------------------------------
@INCLUDE:option-S-socket@
-------------------------------------
@INCLUDE:option-u-user@
------------------------------------------------------------------------
flags Message flags as described in RFC 3501, section 2.3.2 (Flags Message Attribute): \(rsAnswered ", " \(rsDeleted ", " \(rsDraft ", " \(rsFlagged ", " \(rsRecent " and " \(rsSeen . And the IMAP keywords \(DoForwarded ", " \(DoMDNSent ", " \(DoSubmitPending " and " \(DoSubmitted or user-defined keywords, e.g. Junk, \(DoNonSpam or \(DoLabel1.
One or multiple flags and/or keywords can be specified.
-------------------------------------
search_query Manipulate the flags of messages matching the given search query.
See
doveadm-search-query (7) for details.
------------------------------------------------------------------------
This command is used to extend the current set of flags with the given
flags . -------------------------------------
In order to remove the given
flags from the current set of flags, use this command.
-------------------------------------
This command is used to replace ALL current flags with the given
flags . ------------------------------------------------------------------------
doveadm fetch -u bob \(aquid flags\(aq mailbox dovecot uid 81563 uid: 81563 flags: \(rsAnswered \(rsSeen NonJunk doveadm flags remove -u bob NonJunk mailbox dovecot uid 81563 doveadm flags add -u bob \(aq\(rsFlagged \(DoForwarded\(aq \ mailbox dovecot uid 81563------------------------------------------------------------------------
@INCLUDE:reporting-bugs@ ------------------------------------------------------------------------