reconstruct not seeing empty subfolders with messages

Dave McMurtrie dave64 at andrew.cmu.edu
Sat May 31 16:56:28 EDT 2008


Hal Huntley wrote:
> I'm new to Cyris IMAP but I do have some experience with Sun's IMAP,  so 
> I know some of the commands.
> 
> We have Cyrus IMAP Server 2.1.13.  I did not set it up, but I've been 
> asked to add some more messages to a person's IMAP account.  We acquired 
> a tar file of some email messages from another location.  The message 
> store appears to be the right type of each message number followed by a 
> dot (.).  I've untarred these messages in to a user's area as a 
> subfolder.  There are many subfolders in this original folder as well as 
> sub-subfolders.
> 
> Here's a representation of the issue.
> 
> username -> user account folder
>    norne    -> top level folder
>       foo    -> sub folder (usually does not have messages but might)
>          bar   -> sub-sub folder (may or may not have messages)
> 
> If there are messages  at the "foo" level, they are seen fine.  But if  
> the "foo" level is empty of messages, but has sub-folders, none of the 
> sub-folders are seen and thus none of their messages are seen.

How were the subdirectories (folders) created?  Did you use an IMAP 
client, or did you just create the subdirectories in the filesystem and 
then copy the mail into them?

Can you see these subdirectories using cyradm?

$ cyradm your.server.com
your.server.com> lm user.username.*

If you just created them as directories in the filesystem and did not 
use an IMAP client, remove the subdirectories you created from the 
filesystem, recreate them using an IMAP client, then copy the mail back 
and reconstruct.

Thanks,

Dave


More information about the Info-cyrus mailing list