I want to transfer an email from
[email protected] to put it in a folder of another user:
[email protected]
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 |-A] [-S ] [user ]
my attempts:
doveadm
move -u
[email protected] DIRECTORY_2 mailbox
[email protected]:'DIRECTORY_1' all
return: Error: Syncing mailbox
[email protected]:DOSSIER_1 failed: Mailbox doesn't exist:
[email protected]:DOSSIER_1
doveadm -u
[email protected] DIRECTORY_2 mailbox sdbox:/complete/path/
[email protected]/mailboxes/DIRECTORY_1 all
return: Error: Syncing mailbox sdbox:/complete/path/
[email protected]/mailboxes/DIRECTORY_1 failed: Mailbox doesn't exist: sdbox:/complete/path/
[email protected]/mailboxes/DIRECTORY_1
doveadm
move -u
[email protected] DIRECTORY_2 mailbox
[email protected] 'DIRECTORY_2' all
return: Fatal: Unknown argument DIRECTORY_2
some details:
directory exists
the following command works (in case 'DIRECTORY_1' and 'DIRECTORY_2' are in the
[email protected] user):
doveadm
move -u
[email protected] DIRECTORY_2 mailbox 'DIRECTORY_1' ALL
my problem is that I can not put another user destination