<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Your example pointed me to a solution, excellent !<br><br>In my case I only needed one pass, I had to supply both imapc_list_prefix AND imapc_prefix AND the "namespace/inbox/prefix=" options.<br>In case anyone runs into this in the future, here's a decent place to start for debugging:<br><br>/usr/bin/doveadm -Dv -o imapc_list_prefix=INBOX -o imapc_prefix=INBOX. -o "namespace/inbox/prefix=" -o mail_fsync=never -o dsync_commit_msgs_interval=100 -o imapc_features=rfc822.size,fetch-headers -o dsync_features=empty-header-workaround -o imapc_port=143 -o imapc_host=127.0.0.1 -o imapc_password=yayforpasswords -o imapc_user=<a target="_blank" href="mailto:wah@hellodemo.ppl">wah@hellodemo.ppl</a> -o imapc_rawlog_dir=/tmp/raww -o mail_prefetch_count=20 sync -1Ru <a target="_blank" href="mailto:saywhatnow@letest.tld">saywhatnow@letest.tld</a> imapc:<br><br></div><div><br>Thanks again for digging through the old emails where the magic incantations were, I really appreciate it!<br>Darren<br><br><br></div><div class="zmail_extra_hr" style="border-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-bottom: 10px; line-height: 0px;"><br></div><div class="zmail_extra" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Wed, 18 May 2022 05:19:53 -0500 <b>Sami Ketola <sami@ketola.io></b> wrote ----<br></div><div><br></div><blockquote style="margin: 0px;"><div style="" class=""><div><blockquote class=""><div class=""><div class=""><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;" class=""><div class=""><br class="">So adding "-o imapc_list_prefix=INBOX" to the doveadm command line should fix that, I would think ?<br class=""><br class=""></div></div></div></div></blockquote><div><br class=""></div></div><div class=""><br class=""></div><div class="">So is the remote INBOX really 'INBOX' or 'INBOX.INBOX'? Command line arguments depend on which one it is.<br></div><div class=""><br class=""></div><div class="">I managed to find some old archived emails with some tips on how it was solved back then. It was done with something like this:<br></div><div class=""><br class=""></div><div class="">normal doveadm command:<br></div><div class=""><br class=""></div><div class="">'LOG_STDERR_TIMESTAMP="%b %d %H:%M:%S.%{usecs} " ' + '/usr/bin/doveadm' + dsync_debug + \<br></div><div class=""><div class=""><span class="x_-966959828Apple-tab-span" style="white-space: pre-wrap;"></span>" -o mail_prefetch_count=10 " + \<br></div><div class=""> " -o imapc_features=fetch-headers " + \<br></div><div class=""> " -o imapc_host=" + legacy_host + \<br></div><div class=""> " -o imapc_port=" + legacy_port + \<br></div><div class=""> " -o imapc_list_prefix=" + imapc_prefix + \<br></div><div class=""> " -o imapc_prefix=" + imapc_prefix + \<br></div><div class=""> " -o imapc_user=" + self.legacy_user + \<br></div><div class=""> " -o imapc_master_user=" + self.legacy_user + \<br></div><div class=""> " -o imapc_password=" + imapc_master_password + \<br></div><div class=""> " -o mail_fsync=never " + \<br></div><div class=""> " backup -u " + self.uid + \<br></div><div class=""> " -R imapc: >> " + dsync_err_log_location + self.uid + ".dsync_err.log 2>&1"<br></div></div><div class=""><br class=""></div><div class="">If I remember correctly imapc_prefix was 'INBOX/' since this customer had INBOX/INBOX setup with / as separator.<br></div><div class=""><br class=""></div><div class="">and if user had INBOX/INBOX detected this command was run on top of that to migrate INBOX:<br></div><div class=""><br class=""></div><div class=""><div class="">'LOG_STDERR_TIMESTAMP="%b %d %H:%M:%S.%{usecs} " ' + '/usr/bin/doveadm' + dsync_debug + \<br></div><div class=""> " -o namespace/inbox/prefix= " + \<br></div><div class=""> " -o mail_prefetch_count=10 " + \<br></div><div class=""> " -o imapc_features=fetch-headers " + \<br></div><div style="color: rgb(0, 0, 0);" class=""> " -o imapc_host=" + legacy_host + \<br></div><div style="color: rgb(0, 0, 0);" class=""> " -o imapc_port=" + legacy_port + \<br></div><div style="color: rgb(0, 0, 0);" class=""> " -o imapc_user=" + self.legacy_user + \<br></div><div style="color: rgb(0, 0, 0);" class=""> " -o imapc_master_user=" + self.legacy_user + \<br></div><div class=""> " -o imapc_password=" + imapc_master_password + \<br></div><div class=""> " -o mail_fsync=never " + \<br></div><div class=""> " backup -u " + self.uid + \<br></div><div class=""> " -m INBOX/INBOX " + \<br></div><div class=""> " -R imapc: >> " + dsync_err_log_location + self.uid + ".dsync_err.log 2>&1"<br></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">HTH,<br></div><div class=""><br class=""></div><div class="">Sami<br></div></div></blockquote></div><div><br></div></div><br></body></html>