1
.\" Copyright (c) 2013 Dovecot authors, see the included COPYING file
2
.TH DOVEADM\-FLAGS 1 "2013-08-02" "Dovecot v2.2" "Dovecot"
4
doveadm\-flags \- add, remove or replace messages\(aq flags
5
.\"------------------------------------------------------------------------
7
.BR doveadm " [" \-Dv "] " flags " [" \-S
8
.IR socket_path "] " "command flags search_query"
9
.\"-------------------------------------
11
.BR doveadm " [" \-Dv "] " flags " [" \-S
12
.IR socket_path "] " "command flags search_query"
14
.\"-------------------------------------
16
.BR doveadm " [" \-Dv "] " flags " [" \-S
17
.IR socket_path "] " "command flags search_query"
19
.\"------------------------------------------------------------------------
21
This command is used to manipulate flags of messages.
22
.\"------------------------------------------------------------------------
23
@INCLUDE:global-options@
24
.\"-------------------------------------
28
.\"-------------------------------------
30
.\"-------------------------------------
31
@INCLUDE:option-S-socket@
32
.\"-------------------------------------
33
@INCLUDE:option-u-user@
34
.\"------------------------------------------------------------------------
38
Message flags as described in RFC 3501, section 2.3.2 (Flags Message
40
.BR \(rsAnswered ", " \(rsDeleted ", " \(rsDraft ", " \(rsFlagged ", "
41
.BR \(rsRecent " and " \(rsSeen .
43
.BR \(DoForwarded ", " \(DoMDNSent ", " \(DoSubmitPending " and "
45
or user\-defined keywords, e.g. Junk, \(DoNonSpam or \(DoLabel1.
47
One or multiple flags and/or keywords can be specified.
48
.\"-------------------------------------
51
Manipulate the flags of messages matching the given search query.
53
.BR doveadm\-search\-query (7)
55
.\"------------------------------------------------------------------------
58
.BR "doveadm flags add" " [" \-u
61
.IR socket_path "] " "flags search_query"
63
This command is used to extend the current set of flags with the given
65
.\"-------------------------------------
67
.BR "doveadm flags remove" " [" \-u
70
.IR socket_path "] " "flags search_query"
72
In order to remove the given
74
from the current set of flags, use this command.
75
.\"-------------------------------------
77
.BR "doveadm flags replace" " [" \-u
80
.IR socket_path "] " "flags search_query"
82
This command is used to replace ALL current flags with the given
84
.\"------------------------------------------------------------------------
86
List and manipulate the message flags of the message with uid 81563
89
.B doveadm fetch \-u bob \(aquid flags\(aq mailbox dovecot uid 81563
91
flags: \(rsAnswered \(rsSeen NonJunk
93
.B doveadm flags \-u bob remove NonJunk mailbox dovecot uid 81563
94
.B doveadm flags \-u bob add \(aq\(rsFlagged \(DoForwarded\(aq \
95
mailbox dovecot uid 81563
97
.\"------------------------------------------------------------------------
98
@INCLUDE:reporting-bugs@
99
.\"------------------------------------------------------------------------
102
.BR doveadm\-fetch (1),
103
.BR doveadm\-search\-query (7)
b'\\ No newline at end of file'