DOVEADM-FLAGS(1) | Dovecot | DOVEADM-FLAGS(1) |
doveadm-flags - add, remove or replace messages' flags
doveadm [-Dv] flags [-S
socket_path] command flags search_query
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
This command is used to manipulate flags of messages.
Global doveadm(1) options:
Command specific options:
When the SQL userdb module is used make sure that the iterate_query setting in /etc/dovecot/dovecot-sql.conf.ext matches your database layout. When using the LDAP userdb module, make sure that the iterate_attrs and iterate_filter settings in /etc/dovecot/dovecot-ldap.conf.ext match your LDAP schema. Otherwise doveadm(1) will be unable to iterate over all users.
This allows an administrator to execute doveadm(1) mail commands through the given socket.
doveadm flags add [-u user|-A|-F file] [-S socket_path] flags search_query
This command is used to extend the current set of flags with the given flags.
doveadm flags remove [-u user|-A|-F file] [-S socket_path] flags search_query
In order to remove the given flags from the current set of flags, use this command.
doveadm flags replace [-u user|-A|-F file] [-S socket_path] flags search_query
This command is used to replace ALL current flags with the given flags.
List and manipulate the message flags of the message with uid 81563
doveadm fetch -u bob 'uid flags' mailbox dovecot uid 81563 uid: 81563 flags: \Answered \Seen NonJunk doveadm flags remove -u bob NonJunk mailbox dovecot uid 81563 doveadm flags add -u bob '\Flagged $Forwarded' mailbox dovecot uid 81563
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is available at: http://dovecot.org/bugreport.html
2015-05-09 | Dovecot v2.3 |