How to import an external data in the Maildir formart into Mailcow? reddit / selfhosted ---------------------------------------------------------------------- dumagete7789 · 2023-10-11 21:23 I have a backup of one of my email accounts, of multiple domains, in the *Maildir* format. I made it manually, and it’s not from a Mailcow instance. How to import a backup into a Mailcow? I’m aware of the 2 import/export bash scripts of Mailcow, however, can they be used in this case? Will I also have to create a domain and mailbox in MailCow first, for each corresponding domain and mailbox? ---------------------------------------------------------------------- arcadianarcadian · 2023-10-12 08:50 https://github.com/mailcow/mailcow-dockerized/issues/516 ---------------------------------------------------------------------- [deleted] · 2023-10-12 12:21 [deleted] ---------------------------------------------------------------------- dumagete7789 · 2023-10-12 12:22 There's no solution there -- only a discussion and some hacks ---------------------------------------------------------------------- arcadianarcadian · 2023-10-12 13:27 Solution? probably here. This guy gave a script to migrate mail data. [https://github.com/mailcow/mailcow-dockerized/issues/516#issuecomment -453020349](https://github.com/mailcow/mailcow- dockerized/issues/516#issuecomment-453020349) Basically; /var/vmail/{domain}/ is your old server files which includes Maildir. you have to copy those files into Mailcow data folder with same structure, then you have change user permissions.