[Dovecot] doveadm move command
vincent truc
vincent_graphiste at hotmail.com
Fri Jun 21 17:50:49 EEST 2013
Hello
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 <source user>] <search query>
my attempts:
doveadm move -u user2 at domain.com DIRECTORY_2 mailbox user1 at domain.com:'DIRECTORY_1' all
return: Error: Syncing mailbox user1 at domaine.fr:DOSSIER_1 failed: Mailbox doesn't exist: user1 at domaine.fr:DOSSIER_1
doveadm -u user2 at domain.com DIRECTORY_2 mailbox sdbox:/complete/path/user1 at domain.com/mailboxes/DIRECTORY_1 all
return: Error: Syncing mailbox sdbox:/complete/path/user1 at domain.com/mailboxes/DIRECTORY_1 failed: Mailbox doesn't exist: sdbox:/complete/path/user1 at domain.com/mailboxes/DIRECTORY_1
doveadm move -u user2 at domain.com DIRECTORY_2 mailbox user1 at domain.com 'DIRECTORY_2' all
return: Fatal: Unknown argument DIRECTORY_2
More information about the dovecot
mailing list