[Dovecot] 1.1 namespaces and message corruption
Hello,
I've been trying out the new dovecot's namespace support, and I'm having some issues moving messages between namespaces. Specifically, when I move some messages from a Maildir-based namespace to an mbox-based namespace, the message gets corrupted: its contents are removed, and an entirely empty message is added to the destination mailbox. This is 100% repeatable (some messages just *cannot* be copied intact).
I have two namespaces, set up like so:
namespace private { # Default
separator = .
hidden = no
inbox = yes
prefix =
location = maildir:%h/Maildir
}
namespace private {
separator = .
hidden = no
prefix = "INBOX.ArchiveTest."
location = mbox:%h/Maildir/Archive
}
All I do is tell my client (mutt) to copy a message from a folder in the maildir namespace into a folder in the mbox namespace.
Does anyone know what might be going wrong or how I can even debug this? No error messages of any kind are showing up in the dovecot log file, and the mail_debug setting doesn't seem to give me any useful information.
Message corruption of this sort worries me...
~Kyle
To sin by silence when they should protest makes cowards of men. -- Abraham Lincoln
On Fri, 2008-06-27 at 14:48 -0500, Kyle Wheeler wrote:
Hello,
I've been trying out the new dovecot's namespace support, and I'm having some issues moving messages between namespaces. Specifically, when I move some messages from a Maildir-based namespace to an mbox-based namespace, the message gets corrupted: its contents are removed, and an entirely empty message is added to the destination mailbox. This is 100% repeatable (some messages just *cannot* be copied intact).
zlib plugin is somehow broken. If it's loaded then non-hardlink copying from a maildir results in zero byte output. I'll look at it later - it's not obvious why it's broken.
On Tuesday, July 1 at 11:15 PM, quoth Timo Sirainen:
zlib plugin is somehow broken. If it's loaded then non-hardlink copying from a maildir results in zero byte output. I'll look at it later - it's not obvious why it's broken.
Aha! Excellent catch - thanks Timo!
~Kyle
Truth springs from argument amongst friends. -- David Hume
participants (2)
-
Kyle Wheeler
-
Timo Sirainen