diff doc/man/doveadm-import.1.in @ 20784:16517812f2cb

doveadm-import: Update manpage
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Thu, 29 Sep 2016 09:51:40 +0300
parents 0f22db71df7a
children 2e2563132d5f
line wrap: on
line diff
--- a/doc/man/doveadm-import.1.in	Thu Sep 29 10:17:05 2016 +0300
+++ b/doc/man/doveadm-import.1.in	Thu Sep 29 09:51:40 2016 +0300
@@ -6,12 +6,16 @@
 .SH SYNOPSIS
 .BR doveadm " [" \-Dv "] " import " [" \-S
 .IR socket_path ]
+.RB [ \-U
+.IR source_user ]
 .RB [ \-s ]
 .I source_location dest_parent search_query
 .br
 .\"-------------------------------------
 .BR doveadm " [" \-Dv "] " import " [" \-S
 .IR socket_path ]
+.RB [ \-U
+.IR source_user ]
 .RB [ \-s ]
 .BI \-A " source_location dest_parent search_query"
 .br
@@ -24,6 +28,8 @@
 .\"-------------------------------------
 .BR doveadm " [" \-Dv "] " import " [" \-S
 .IR socket_path ]
+.RB [ \-U
+.IR source_user ]
 .RB [ \-s ]
 .BI \-u " user source_location dest_parent search_query"
 .\"------------------------------------------------------------------------
@@ -37,7 +43,9 @@
 .I dest_parent
 is empty (\(dq\(dq). The
 .I search_query
-can be used to restrict which mailboxes or messages are imported.
+can be used to restrict which mailboxes or messages are imported. By default
+the import is done in destination user's context, you can use \-U to change
+this.
 
 In the first form,
 .BR doveadm (1)
@@ -76,6 +84,11 @@
 .\"-------------------------------------
 @INCLUDE:option-u-user@
 .\"------------------------------------------------------------------------
+.TP
+.B \-U username
+When the
+.B \-U
+option is present, the source box is opened with given username.
 .SH ARGUMENTS
 .TP
 .I dest_parent
@@ -126,4 +139,4 @@
 .BR doveadm (1),
 .BR doveadm\-fetch (1),
 .BR doveadm\-search (1),
-.BR doveadm\-search\-query (7)
\ No newline at end of file
+.BR doveadm\-search\-query (7)