[Dovecot] doveadm import doesn't work
Andreas Thomsen
andreas.thomsen at dadgmbh.de
Tue Nov 6 13:51:47 EET 2012
Hello,
we are running dovecot 2.0.4 on openSuse 11.2.
mailboxes are in mdbox-format on local filesystem.
we had a powerfailure resulting in many corrupted files and i had to
restore some mailboxes.
as descibed in wiki, i tried :
doveadm import -u <username> mdbox:/path/to/backup/<username>/mdbox
INBOX all
or
doveadm import -u <username> mdbox:/path/to/backup/<username>/mdbox
mdbox:/path/to/mailbox/<username>/mdbox all
all i get is :
usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
altmove [-u <user>|-A] <search query>
auth [-a <auth socket path>] [-x <auth info>] <user> [<password>]
config [doveconf parameters]
director add|flush|map|remove|status
dump [-t <type>] <path>
expunge [-u <user>|-A] <search query>
fetch [-u <user>|-A] <fields> <search query>
force-resync [-u <user>|-A] <mailbox>
help <cmd>
kick [-a <anvil socket path>] [-f] <user mask>[|]<ip/bits>
log find|reopen|test
mailbox create|delete|list|mutf7|rename|status|subscribe|unsubscribe
penalty [-a <anvil socket path>] [<ip/bits>]
purge [-u <user>|-A]
pw [-l] [-p plaintext] [-r rounds] [-s scheme] [-u user] [-V]
quota get|recalc
reload
search [-u <user>|-A] <search query>
stop
user [-a <userdb socket path>] [-x <auth info>] <user mask> [...]
who [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]
any idea, whats the problem?
kind regards
Andreas Thomsen
--
DAD Deutscher Adressdienst GmbH
Alter Wall 65
20457 Hamburg
Postfach 11 35 58
20435 Hamburg
Deutschland
Tel. 0049 (0)40 7511990
Fax 0049 (0)40 75119911
Amtsgericht Hamburg HRB 88115
Geschäftsführerin: Daniela Kunst
Steuernummer 48/714/02030
Ust-IdNr. DE813739877
More information about the dovecot
mailing list