Re: Seen database issue

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

 



> Moving the /var/spool/imap directories, and /var/lib/user/{}.seen
> files to the new server and reconstructing works fine except that all the
> mail shows up as "not read" on the new sever.

The seen state is keyed on the mailbox "uniqueid", so if that changes, the 
seen state becomes invalid.

The mailbox uniqueid is based on the mailbox name + the uidvalidity value, 
which is itself based on the time the mailbox is created, or recreated due 
to a reconstruct.

Now I thought reconstruct should preserve the mailbox uniqueid in most 
cases, but it's possible it's not if you're not copying all the data 
correctly.

1. Why are you reconstructing the mailboxes. If you copy all the right data, 
it should be fine without a reconstruct
2. How are you copying the data? Recommend using rsync -az which will 
preserve all the attributes + timestamps
3. Are you using split data/meta data? If so, are you copying the metadata 
as well?
4. What flags are you passing to reconstruct?

Rob

----
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