[Dovecot] doveadm move command

Timo Sirainen
Mon, 24 Jun 2013 20:21:28 -0000

On 21.6.2013, at 17.50, vincent truc <vincent_graphiste at hotmail.com>
wrote:

> I want to transfer an email from user1 at domain.com to put it in a folder
of another user: user2 at domain.com
>
> For that, it seems to me appropriate to use 'doveadm move' command,
but I can not get the right result. Can you help me?
>
> syntax:
>    doveadm move [-u <user>|-A] [-S <socket_path>]
<destination> [user ] <search query>
>
>
> my attempts:
>
>    doveadm move -u user2 at domain.com DIRECTORY_2 mailbox user1 at
domain.com:'DIRECTORY_1' all

doveadm move -u user2 at domain.com DIRECTORY_2 user user1 at domain.com mailbox
DIRECTORY_1