I am currently running dovecot 2.x on a server with the following layout for mailboxes:
mail_location = maildir:~/Maildir
I would like to change the layout to this format:
mail_location = maildir:~/Maildir:LAYOUT=fs:INBOX=~/Maildir/INBOX
Is there a way to convert the mailbox layout for all mail accounts currently on the server? I was looking at dsync, but all examples in Dovecot's wiki are for converting between mbox and Maildir.
I was also looking at potentially writing a script to manually rename directories/move files around to match the new format, but wasn't sure whether that would mess with UIDs or other dovecot internals.