subscribtion and seen flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, list

Possible, my question stupid, but I can't find solution.

I have cyrus-2.3.8 imapd server with configured virtual domains. But we 
are using only one domain -- team.domain.com.
I want to make this domain default for cyrus.
I'm testing procedure in sandbox.
After stopping imapd server I doing:
1. dumping all my current mailboxes with removing 'team.domain.com'.
ctl_mboxlist -d | sed -e 's/^team.domain.com!//; s/@team.domain.com// > 
mboxlist.dump

2. moving all messages to root mail partition and removing old subfolder
mv -i /var/spool/imap/domain/O/team.domain.com/* /var/spool/imap/
rm -rf /var/spool/imap/domain

3. removing current mailboxes database and creating it again from 
patched dump
rm /var/imap/mailboxes.db
cat mboxlist.dump | ctl_mboxlist -u

4. replacing defaultdomain in imapd.conf

After starting imapd that I can login with my short name "dimma" instead 
"dimma@xxxxxxxxxxxxxxx" and I can see all my folders and messages.
But all messages unread and not flagges and I lost my subscriptions to 
the folders.

How I can backup and restore message flags and folders subscription status?

WBR.
Dmitriy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux