I just tried upgrading the remote server to be the same version as the local server (now both running 2.4.1+dfsg1-6+deb13u2) and I'm getting the same error. If anyone has suggestions on how to increase the verbosity of the right log setting or other tips to get more information, it would be greatly appreciated.
The command I'm running:
'doveadm' 'sync' '-u' 'user' 'ssh' 'root@remote.server.address' doveadm dsync-server -u 'user'
Error:
dsync-local(user)<6mXOGRh5JmmoDQMAVqcyLg>: Error: brain M: Exporting mailbox INBOX failed: Mailbox attribute iteration failed: Internal error occurred. Refer to server log for more information. [2025-11-26 03:50:49] dsync-remote(user)<xpp5HRl5JmkKDgAAkzTmUw>: Error: brain S: Exporting mailbox INBOX failed: Mailbox attribute iteration failed: Internal error occurred. Refer to server log for more information. [2025-11-26 03:50:49]