Just reporting in case someone else runs into this.
I’ve just migrated from an old dovecot server to a new one based on MacPorts
dovecot etc..
The mailboxes have been migrated with doveadm backup and sync. Receiving and
sending mail in the INBOX worked. Moving a message to another mailbox at the
top level worked as well. Just not when there is a mailbox hierarchy and I’m
more than one level down.
When trying to move a message from INBOX to another mailbox with Apple Mail
(macOS Mojave) I got the following error:
The IMAP command “UID COPY” failed for the mailbox “INBOX” with server
error: Character not allowed in mailbox name: '.'
dovecot showed no errors in mail-error.log or mail-info.log
Creating a Mailbox TestLevelOne worked and .TestLevelOne was created in the
Maildir store
Creating a Mailbox TestLevelOne/TestLevelTwo didn’t work
Accessing any mailbox at level 2 did not work (only showed old cache)
mail-debug.og didn’t show anything when I tried this.
The solution was that somehow Apple Mail.app (Mojave) had become corrupted.
Removing its contents from ~/Library and recreating the accounts solved the
issue.
Gerben Wierda
Chess and the Art of Enterprise Architecture <http://enterprisechess.com/>
Mastering ArchiMate <http://masteringarchimate.com/>
Architecture for Real Enterprises
<https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld
On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ