[Dovecot] Error when trying to delete folders

Timo Sirainen tss at iki.fi
Mon Aug 15 00:03:09 EEST 2011


On Mon, 2011-08-08 at 14:47 +0300, Bar Ziony wrote:

> When trying to delete a folder, I get this error:
> "Server Error: DELETE: Can't rename mailboxes across specified storages"

The problem is that you've specified a separate INDEX= path for Maildir.
Dovecot's generic mailbox renaming code can't currently handle renaming
between namespaces when they have different index paths. Since
lazy-expunge handles mailbox deletions by renaming them into the
lazy-expunge namespace, this fails. So your options are:

a) Remove INDEX path from mail_location

b) Fix Dovecot code to support renaming from different index paths (for
maildir you could basically just delete the old index dir - a more
generic solution would be more difficult)

c) Forget about using lazy_expunge




More information about the dovecot mailing list