]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
man: Added doveadm index.
authorTimo Sirainen <tss@iki.fi>
Wed, 11 May 2011 14:56:25 +0000 (17:56 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 11 May 2011 14:56:25 +0000 (17:56 +0300)
.hgignore
doc/man/Makefile.am
doc/man/doveadm-index.1.in [new file with mode: 0644]
doc/man/doveadm.1.in

index e2179ac53a81091090c5d165b01ed6b6f889e64e..ff96e8c674afcc3980188d300e94aa5ae052fd38 100644 (file)
--- a/.hgignore
+++ b/.hgignore
@@ -94,5 +94,5 @@ src/plugins/quota/rquota.h
 
 syntax: regexp
 src/.*/test-[^\.]*$
-doc/man/doveadm-(altmove|auth|director|dump|expunge|fetch|import|force-resync|help|kick|log|mailbox|penalty|purge|pw|quota|search|user|who)\.1$
+doc/man/doveadm-(altmove|auth|director|dump|expunge|fetch|import|index|force-resync|help|kick|log|mailbox|penalty|purge|pw|quota|search|user|who)\.1$
 doc/man/(doveadm|doveconf|dovecot-lda|dovecot|dsync)\.1$
index df4aa1776b288e5f8cb3b900575505653b0f2c3a..02143b3603bd9f47d20630c4ede6abddce5ed367 100644 (file)
@@ -18,6 +18,7 @@ nodist_man1_MANS = \
        doveadm-expunge.1 \
        doveadm-fetch.1 \
        doveadm-import.1 \
+       doveadm-index.1 \
        doveadm-force-resync.1 \
        doveadm-help.1 \
        doveadm-kick.1 \
@@ -52,6 +53,7 @@ EXTRA_DIST = \
        doveadm-expunge.1.in \
        doveadm-fetch.1.in \
        doveadm-import.1.in \
+       doveadm-index.1.in \
        doveadm-force-resync.1.in \
        doveadm-help.1.in \
        doveadm-kick.1.in \
@@ -105,6 +107,10 @@ doveadm-import.1: $(srcdir)/doveadm-import.1.in $(man_includefiles) Makefile
        $(SHELL) $(srcdir)/sed.sh $(srcdir) $(rundir) $(pkgsysconfdir) \
                < $(srcdir)/doveadm-import.1.in > doveadm-import.1
 
+doveadm-index.1: $(srcdir)/doveadm-index.1.in $(man_includefiles) Makefile
+       $(SHELL) $(srcdir)/sed.sh $(srcdir) $(rundir) $(pkgsysconfdir) \
+               < $(srcdir)/doveadm-index.1.in > doveadm-index.1
+
 doveadm-force-resync.1: $(srcdir)/doveadm-force-resync.1.in $(man_includefiles) Makefile
        $(SHELL) $(srcdir)/sed.sh $(srcdir) $(rundir) $(pkgsysconfdir) \
                < $(srcdir)/doveadm-force-resync.1.in > doveadm-force-resync.1
diff --git a/doc/man/doveadm-index.1.in b/doc/man/doveadm-index.1.in
new file mode 100644 (file)
index 0000000..b7802dc
--- /dev/null
@@ -0,0 +1,57 @@
+.\" Copyright (c) 2010 Dovecot authors, see the included COPYING file
+.TH DOVEADM\-IMPORT 1 "2011-05-11" "Dovecot v2.0" "Dovecot"
+.SH NAME
+doveadm\-index \- Index mailboxes
+.\"------------------------------------------------------------------------
+.SH SYNOPSIS
+.BR doveadm " [" \-Dv "] " force\-resync " [" \-S
+.IR socket_path "] " mailbox
+.\"-------------------------------------
+.br
+.BR doveadm " [" \-Dv "] " force\-resync " [" \-S
+.IR socket_path "] "
+.BI \-A \ mailbox
+.\"-------------------------------------
+.br
+.BR doveadm " [" \-Dv "] " force\-resync " [" \-S
+.IR socket_path "] "
+.BI \-u " user mailbox"
+.\"------------------------------------------------------------------------
+.SH DESCRIPTION
+Add unindexed messages in a mailbox into index/cache file. If full text
+search is enabled, also add unindexed messages to the fts database.
+.PP
+The caching adds only the fields that were previously added to the
+mailbox\(aqs caching decisions, so it won\(aqt do anything useful for
+mailboxes that user\(aqs client hasn\(aqt accessed yet. You can use
+.B doveadm dump
+command to show a specific mailbox\(aqs current caching decisions.
+.\"------------------------------------------------------------------------
+@INCLUDE:global-options@
+.\" --- command specific options --- "/.
+.PP
+Command specific
+.IR options :
+.\"-------------------------------------
+@INCLUDE:option-A@
+.\"-------------------------------------
+@INCLUDE:option-S-socket@
+.\"-------------------------------------
+@INCLUDE:option-u-user@
+.\"------------------------------------------------------------------------
+.SH ARGUMENTS
+.TP
+.I mailbox
+The name of the mailbox to index.
+.\"------------------------------------------------------------------------
+.SH EXAMPLE
+Index bob\(aqs INBOX:
+.PP
+.nf
+.B doveadm index \-u bob INBOX
+.fi
+.\"------------------------------------------------------------------------
+@INCLUDE:reporting-bugs@
+.\"------------------------------------------------------------------------
+.SH SEE ALSO
+.BR doveadm (1)
\ No newline at end of file
index cd5781c90e0712f3715c5e096eee7071a9810557..62401e428ddc70bf4c49701cec7f844667d7125e 100644 (file)
@@ -1,5 +1,5 @@
 .\" Copyright (c) 2010 Dovecot authors, see the included COPYING file
-.TH DOVEADM 1 "2010-11-25" "Dovecot v2.0" "Dovecot"
+.TH DOVEADM 1 "2011-05-11" "Dovecot v2.0" "Dovecot"
 .SH NAME
 doveadm \- Dovecot\(aqs administration utility
 .\"------------------------------------------------------------------------
@@ -112,6 +112,11 @@ Repair broken mailboxes, in case Dovecot doesn\(aqt automatically do that.
 Import messages matching given search query.
 .\"-------------------------------------
 .TP
+.B doveadm index
+.BR doveadm\-index (1),
+Index messages in a given mailbox.
+.\"-------------------------------------
+.TP
 .B doveadm mailbox
 .BR doveadm\-mailbox (1),
 Various commands related to handling mailboxes.