Have you seen https://doc.dovecot.org/2.3/admin_manual/migrating_mailboxes/ ? 
This will probably be helpful.

Aki

> On 21/02/2025 04:38 EET Mike via dovecot <dovecot@dovecot.org> wrote:
> 
>  
> Hello,
> First post, and yes Ive searched the archives and didn't find an answer.
> Sorry if this is old hat but...
> 
> I am trying build a new mailserver (iredmail) and import messages from the
> old server (old old iredmail), and convert from dbox to maildir in the
> process. I have previously used doveadm sync successfully several
> years/versions ago with a master user and imapc:. Now however, Im getting
> errors that don't make sense to me.
> 
> doveadm -D -c /etc/dovecot/dovecot.conf  sync -1 -R -u exam...@example.com
> imapc:
> 
> results in:
> dsync(exam...@example.com): Info: imapc(mail.example.com:993): Connected to
> 192.0.2.1:993 (local 192.0.2.1:51732)
> dsync(exam...@example.com): Error: Mail locations must use the same
> hierarchy separator (specify namespace prefix="" { separator } explicitly)
> 
> I have tried all sorts of chicanery including testing every combination of
> "" and / and . for each of prefix and separator in dovecot.conf, no dice. I
> am refraining from providing full debug dump/config files since this seems
> excessive if this is a config file issue, but will do so upon your advice
> if requested.
> 
> Thank you.
> Hello,
> First post, and yes Ive searched the archives and didn't find an answer. Sorry
> if this is old hat but...
> 
> I am trying build a new mailserver (iredmail) and import messages from the old
> server (old old iredmail), and convert from dbox to maildir in the process. I
> have previously used doveadm sync successfully several years/versions ago with
> a master user and imapc:. Now however, Im getting errors that don't make sense
> to me.
> 
> doveadm -D -c /etc/dovecot/dovecot.conf  sync -1 -R -u exam...@example.com
> imapc:
> 
> results in: 
> dsync(exam...@example.com): Info: imapc(mail.example.com:993): Connected to
> 192.0.2.1:993 (local 192.0.2.1:51732)
> dsync(exam...@example.com): Error: Mail locations must use the same hierarchy
> separator (specify namespace prefix="" { separator } explicitly)
> 
> I have tried all sorts of chicanery including testing every combination of ""
> and / and . for each of prefix and separator in dovecot.conf, no dice. I am
> refraining from providing full debug dump/config files since this seems
> excessive if this is a config file issue, but will do so upon your advice if
> requested.
> 
> Thank you.
> _______________________________________________
> dovecot mailing list -- dovecot@dovecot.org
> To unsubscribe send an email to dovecot-le...@dovecot.org

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to