On Mon, 2009-05-25 at 23:41 -0700, Rich Wales wrote:
The above works perfectly when I'm talking to my Cyrus server. However, when I tried the same thing with Dovecot, I got a folder named "user.stanford.2009" in the "stanford" account's Maildir, and then another folder named "user.stanford.2009.2009-05" (again, in the Maildir -- NOT nested in the "user.stanford.2009" folder) -- and the message was stored in the "user.stanford.2009.2009-05" folder.
If you want to use '.' as hierarchy separator, tell it to Dovecot by creating a namespace with "separator = .". Otherwise Dovecot uses the default '/' separator.
I suppose I actually have two issues here -- the lack of folder nesting (even with LAYOUT=fs), and also Dovecot's failure to recognize a "user.XXX." prefix on a mailbox name as designating user XXX's inbox (something that seems to work fine on Cyrus).
Yes, there's no special code for user.XXX. prefix. You can again create a namespace with "prefix=user.%u."