On Tue, Aug 13, 2024 at 4:45 PM Benny Pedersen via dovecot <
dovecot@dovecot.org> wrote:

> Odhiambo Washington via dovecot skrev den 2024-08-13 14:25:
> > I moved services to a new server (VPS) when I had issues with my
> > hardware.
> > Now I have copied data from the disk of the old server into the VPS.
> > On the VPS, mail is delivered to
> > /var/spool/virtual/DOMAIN/USER/Maildir/
> >
> > I have the old emails in /root/DOMAIN/USER/Maildir.
> >
> > What is the easiest way to import the old emails into the current
> > active
> > folders without causing chaos with MuAs??
>
> lots of things can be done incorrect :)
>
> https://doc.dovecot.org/admin_manual/migrating_mailboxes/
>
> make local mbox files, then import it in roundcube webmail, untested
> from my point
>
> or use imapsync
>
> not all is perfect
>

doveadm sync -1Ru user@domain maildir:/root/DOMAIN/USER/Maildir

That did it well.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to