[Dovecot] Bad exit status from dsync

Timo Sirainen tss at iki.fi
Wed Jun 5 18:28:17 EEST 2013

On Mon, 2013-06-03 at 10:11 +0200, Jan-Frode Myklebust wrote:
> I just tried to migrate one of my users from maildir to mdbox using
> dsync. My conversion script is checking the dsync exit code to know if
> the conversion goes fine or not, and surprisingly dsync returned "0" at
> the same time as it gave the error:
> 	Error: Failed to sync mailbox .ta\ vare\ på ... 
> 	(sorry, lost the rest of the error message)
> Changing the folder name to mUTF7 manually made it work, but I didn't
> like that dsync returned success when it got this error. That breaks the
> failsafe logic in my conversion script.

It was a bit tricky to fix this. I added a kludge to v2.1 and a better
fix to v2.2:


More information about the dovecot mailing list