Maildir to Mdbox and folder structure after the conversion
Using the dsync command I've converted a Dovecot mail folder from Maildir to Mdbox format. (see https://dovecot.org/pipermail/dovecot/2021-June/122304.html)
The folder resulting from the conversion (see https://pastebin.com/6U4CDTQi ), however, has a completely different directory structure from the one used by the destination server where it will be transferred (see https://pastebin.com/nMEvqmqp )
What do I have to do to make the folder obtained after the conversion have a directory structure identical to the one used by the destination server ?
Thank You.
On 09/06/2021 14:33 Marco Usai <ddr2pw@yahoo.com> wrote:
Using the dsync command I've converted a Dovecot mail folder from Maildir to Mdbox format. (see https://dovecot.org/pipermail/dovecot/2021-June/122304.html)
The folder resulting from the conversion (see https://pastebin.com/6U4CDTQi ), however, has a completely different directory structure from the one used by the destination server where it will be transferred (see https://pastebin.com/nMEvqmqp )
What do I have to do to make the folder obtained after the conversion have a directory structure identical to the one used by the destination server ?
Thank You.
Maildir and mdbox have different directory structure. You cannot get them to be identical.
Aki
Il mercoledì 9 giugno 2021, 13:37:51 CEST, Aki Tuomi <aki.tuomi@open-xchange.com> ha scritto:
Maildir and mdbox have different directory structure. You cannot get them to be identical.
Aki Yes I know, but the directory structure of the two pastebin links are both in Mdbox format !
What can be the cause of the different directory structure: a different version of Mdbox format or a different server configuration ?
On Wed, Jun 09, 2021 at 15:36:22 +0000, Marco Usai wrote:
Il mercoledì 9 giugno 2021, 13:37:51 CEST, Aki Tuomi <aki.tuomi@open-xchange.com> ha scritto:
Maildir and mdbox have different directory structure. You cannot get them to be identical.
Aki Yes I know, but the directory structure of the two pastebin links are both in Mdbox format !
What can be the cause of the different directory structure: a different version of Mdbox format or a different server configuration ?
If I'm understanding you correctly, it looks like you have a different mail_location set on the two servers. In one case it appears to have a mail/<domain>/<user> sort of format, and on the other... well, I have no idea but it looks like it is only mail/ or something similarly incorrect :)
Jeff.
Il giovedì 10 giugno 2021, 13:12:09 CEST, Josef 'Jeff' Sipek <jeff.sipek@open-xchange.com> ha scritto:
If I'm understanding you correctly, it looks like you have a different mail_location set on the two servers. In one case it appears to have a mail/<domain>/<user> sort of format, and on the other... well, I have no idea but it looks like it is only mail/ or something similarly incorrect :)
Exactly, the different structure seems to be due to a different configuration of the mail servers.
In the end, having no experience with Dovecot and its migration utilities, I found it much easier to use Imapsync.
participants (3)
-
Aki Tuomi
-
Josef 'Jeff' Sipek
-
Marco Usai