-------------------------------------
doveadm " [" -Dv "] " import " [" -S socket_path "] " -A " source_location dest_parent search_query"
-------------------------------------
doveadm " [" -Dv "] " import " [" -S socket_path "] " -u " user source_location dest_parent search_query" ------------------------------------------------------------------------
In the second form, the mails will be imported for all users.
In the third form, the mails will be imported only for given
user (s). ------------------------------------------------------------------------
@INCLUDE:global-options@
--- command specific options --- "/.
Command specific
options : -------------------------------------
@INCLUDE:option-A@
-------------------------------------
@INCLUDE:option-S-socket@
-------------------------------------
@INCLUDE:option-u-user@
------------------------------------------------------------------------
search_query Copy messages matching this search query.
See
doveadm-search-query (7) for details.
------------------------------------------------------------------------
doveadm import -u jane.doe@example.org \(rs mdbox:/backup/20101026/jane.doe/mdbox backup-20101026 all
Another example that imports only messages from foo@example.org in the backup mdbox\(aqs INBOX to jane\(aqs INBOX:
doveadm import -u jane.doe@example.org \(rs mdbox:~/mdbox-backup \(dq\(dq mailbox INBOX from foo@example.org------------------------------------------------------------------------
@INCLUDE:reporting-bugs@ ------------------------------------------------------------------------