|
dovecot IMAP with MS Outlook gives "The folder 'Inbox' cannot contain items" error - (2007.07.09)
We wanted the IMAP configs to work the way dovecot prefers, which is to make top-level folders
parallel to the inbox instead of nested under it. With one primary non-hidden namespace for
this, and a second hidden one that uses the "INBOX." prefix for compatability with courier-imap
and others, everything seemed great. That is, until someone used Microsoft Outlook (instead of
Outlook Express or our webmail client). For whatever reason, Outlook doesn't ask the server
about the inbox in subsequent runs, only when the account is first added, and instead makes
assumptions about how the inbox should be named. The result is that it worked the first time,
but the next time you'd run outlook you'd get the error "The folder 'Inbox' cannot contain items".
Solution follows below:
namespace private {
separator = .
prefix =
inbox = no
hidden = no
}
namespace private {
separator = .
prefix = INBOX.
inbox = yes
hidden = yes
}
The above configuration is what fixed it. Before the correction, we had the inbox=yes in the first
of the two namespaces, not the second.
|