On 11/25/25 10:52 PM, Jamie via dovecot wrote:
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]
Answering my own question... this post was helpful in suggesting sieve as a possible culprit: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/XGSAAC... I finally resolve the problem with the change below. It has nothing to do with the difference in dovecot version. jamie --- /tmp/99-mfpl-mailstore.conf.bak 2025-11-28 21:19:58.813929421 +0000 +++ 99-mfpl-mailstore.conf 2025-11-28 22:17:26.084698287 +0000 @@ -37,12 +37,12 @@ driver = file # The path to the user's main active script. If ManageSieve is used, # this the location of the symbolic link controlled by ManageSieve. - active_path = /home/users/%u/.dovecot.sieve + active_path = ~/.dovecot.sieve # The include extension fetches the :personal scripts from this # directory. When ManageSieve is used, this is also where scripts # are uploaded. - path = /home/users/%u/.sieve + path = ~/.sieve } sieve_script after {