Bill Cole wrote:
Andreas Meyer wrote, On 3/21/09 11:16 AM:
Hello!
I tried to setup dovecot to work with IMAP and POP3 but when I connect with Squirrelmail, I get an error saying CREATE "INBOX.Sent" reason: Mailbox doesn't allow inferior mailboxes
That's for user7, right?
The cause of that error is SquirrelMail (using IMAP) is trying to create a mailbox as a child of INBOX, but since user7 is defined as using mbox format, that fails. If you use mbox storage, an IMAP folder can have either messages or subfolders but never both, because when using mbox an IMAP folder containing messages is a file, while an IMAP folder containing subfolders is a directory. See http://wiki.dovecot.org/MailboxFormat/mbox for more info.
There *should* be some way to make SquirrelMail stop trying to create its folders under INBOX, but I have no idea if there actually *is* one. Some IMAP servers only allow the creation of folders as children of INBOX, and as a result some (broken) IMAP clients only know how to create folders that way. You can accommodate such software in Dovecot by using namespaces.
Run the squirrelmail configure program and change the "default folder prefix" to blank under "folder defaults".
~Seth