1DOVEADM-FTS(1) Dovecot DOVEADM-FTS(1)
2
3
4
6 doveadm-fts - Manipulate the Full Text Search (FTS) index
7
9 doveadm [-Dv] fts command [OPTIONS] [ARGUMENTS]
10
12 The doveadm fts COMMANDS can be used to manipulate the Full Text Search
13 (FTS) index.
14
16 Global doveadm(1) options:
17
18 -D Enables verbosity and debug messages.
19
20 -o setting=value
21 Overrides the configuration setting from /etc/dovecot/dove‐
22 cot.conf and from the userdb with the given value. In order to
23 override multiple settings, the -o option may be specified mul‐
24 tiple times.
25
26 -v Enables verbosity, including progress counter.
27
28 This command uses by default the output formatter flow (without the
29 key= prefix).
30
31 Command specific options:
32
33 -A If the -A option is present, the command will be performed for
34 all users. Using this option in combination with system users
35 from userdb { driver = passwd } is not recommended, because it
36 contains also users with a lower UID than the one configured
37 with the first_valid_uid setting.
38
39 When the SQL userdb module is used make sure that the iter‐
40 ate_query setting in /etc/dovecot/dovecot-sql.conf.ext matches
41 your database layout. When using the LDAP userdb module, make
42 sure that the iterate_attrs and iterate_filter settings in
43 /etc/dovecot/dovecot-ldap.conf.ext match your LDAP schema. Oth‐
44 erwise doveadm(1) will be unable to iterate over all users.
45
46 -F file
47 Execute the command for all the users in the file. This is sim‐
48 ilar to the -A option, but instead of getting the list of users
49 from the userdb, they are read from the given file. The file
50 contains one username per line.
51
52 -S socket_path
53 The option's argument is either an absolute path to a local UNIX
54 domain socket, or a hostname and port (hostname:port), in order
55 to connect a remote host via a TCP socket.
56
57 This allows an administrator to execute doveadm(1) mail commands
58 through the given socket.
59
60 -u user/mask
61 Run the command only for the given user. It's also possible to
62 use '*' and '?' wildcards (e.g. -u *@example.org).
63 When neither the -A option, nor the -F file option, nor the
64 -u user was specified, the command will be executed with the
65 environment of the currently logged in user.
66
68 namespace
69 The name of a namespace, e.g. the name of the shared namespace.
70 When no namespace was given, the user's private namespace will
71 be used.
72
74 fts optimize
75 doveadm fts optimize [-u user|-A|-F file] [-S socket_path] [namespace]
76
77 Optimize the full text search index. This is also done automatically
78 by the full text search engines, but this enforces it to happen.
79
80 fts rescan
81 doveadm fts rescan [-u user|-A|-F file] [-S socket_path] [namespace]
82
83 Scan what mails exist in the full text search index and compare those
84 to what actually exist in mailboxes. This removes mails from the index
85 that have already been expunged and makes sure that the next doveadm
86 index will index all the missing mails (if any).
87
89 Report bugs, including doveconf -n output, to the Dovecot Mailing List
90 <dovecot@dovecot.org>. Information about reporting bugs is available
91 at: http://dovecot.org/bugreport.html
92
94 doveadm(1), doveadm-index(1)
95
96 Additional resources:
97
98 Full text search indexing
99 http://wiki2.dovecot.org/Plugins/FTS
100
101
102
103Dovecot v2.3 2015-05-09 DOVEADM-FTS(1)