Hello Aki,
yes, that's it - thank you.
For reference this works:
sudo doveadm import -u destination at company.net
maildir:/var/vmail/company.net/some.name/Maildir? some_name ALL
Thanks again
Carsten
On 23.04.2018 15:06, Aki Tuomi wrote:> The command you are looking for is doveadm import
>
> ---
> Aki Tuomi
> Dovecot 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/20180424/49aa0d74/attachment.html>