Importing Mail

Odhiambo Washington odhiambo at gmail.com
Thu Sep 24 17:10:40 EEST 2020


Hi Rudolf,

Thank you for the quick response.

Let me try that.


On Thu, 24 Sep 2020 at 17:00, <rudolf at padaru.de> wrote:

> Hey,
>
> for an import between two servers i would use imapsync. With doveadm flag (
> https://wiki.dovecot.org/Tools/Doveadm/Flags) you can mark the mails as
> unseen but be careful here, you can simple overwrite all other flags here
> too, maybe an other way is better here.
>
>
>
> With doveadm backup / doveadm sync you can convert the mails between the
> formats like this way:
>
>
>
> dsync backup -u "<user>" maildir:~/maildir-NEW
>
>
>
> after converting the mails you can rename the mdbox folder to mdbox-OLD or
> something (backup) and rename the maildir-NEW folder to maildir
>
>
>
> Yours sincerely
>
> Pascal Rudolf
>
>
>
>
>
>
>
>
>
> *Von:* dovecot <dovecot-bounces at dovecot.org> *Im Auftrag von *Odhiambo
> Washington
> *Gesendet:* Donnerstag, 24. September 2020 15:25
> *An:* Dovecot Mailing List <dovecot at dovecot.org>
> *Betreff:* Importing Mail
>
>
>
> Hi good people,
>
>
>
> I have an old server that holds old mail (mdbox) and a new server that
> also uses mdbox.
>
> I'd like to import the old mail from the old server into the live/new
> server. The imported mail should not be treated as new mail for the
> existing mail accounts.
>
>
>
> What is the best way to achieve this?
>
>
>
> Lastly, is there a way to convert mdbox to Maildir?
>
>
>
>
> --
>
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft.", grep ^[^#] :-)
>


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200924/61760bb8/attachment.html>


More information about the dovecot mailing list