Hello, I am trying to merge(=copy) all mails of all user mailboxes into one mailbox for one-time archival purposes. The command I am using is ?sudo doveadm -v copy -A archive at somedomain.net ALL The error I get for every mailbox is: doveadm(someuser1 at somedomain.net): Error: Can't open mailbox 'a at somedomain.net': Mailbox doesn't exist: archive at somedomain.net doveadm(someuser2 at somedomain.net): Error: Can't open mailbox 'a at somedomain.net': Mailbox doesn't exist: archive at somedomain.net [etc...] I don't exactly understand why. I think I am don't understand the 'destination' parameter correctly, so somebody can enlighten me, please? Thank you Carsten -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180423/a6a8da94/attachment.html>
The command you are looking for is doveadm import ---Aki TuomiDovecot oy -------- Original message --------From: Carsten Schmitz <carsten.schmitz at limesurvey.org> Date: 23/04/2018 15:46 (GMT+02:00) To: dovecot at dovecot.org Subject: Merging mailboxes with doveadm Hello, I am trying to merge(=copy) all mails of all user mailboxes into one mailbox for one-time archival purposes. The command I am using is ?sudo doveadm -v copy -A archive at somedomain.net ALL The error I get for every mailbox is: doveadm(someuser1 at somedomain.net): Error: Can't open mailbox 'a at somedomain.net': Mailbox doesn't exist: archive at somedomain.net doveadm(someuser2 at somedomain.net): Error: Can't open mailbox 'a at somedomain.net': Mailbox doesn't exist: archive at somedomain.net [etc...] I don't exactly understand why. I think I am don't understand the 'destination' parameter correctly, so somebody can enlighten me, please? Thank you Carsten -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180423/24d1e820/attachment.html>