I am facing the same issues.
I have reasons due to a migration from another dovecot setup to use similar code as above:
namespace inbox {
separator = .
prefix =
inbox = yes
}
Just like in the original post, I too have the error message that the mailbox folder INBOX.Spam is not found as...