Here you could find the discussion between John and I about the topic : > > John Widera a écrit : >> >> Glad it worked. >> >> >>> >>> yes it's working, thanks a lot for the time you've spent teach me how >>> >>> to >>> >>> do. >>> >>> >>>> >>>> We also have a webmail app running, whenever people call to complain >>>> >>>> that >>>> >>>> something like that is wrong in T-bird I ask them to check in webmail. >>>> >>>> If >>>> >>>> it looks OK in webmail, it's a T-bird problem. 99.9% of the time, it >>>> >>>> is >>>> >>>> a >>>> >>>> T-bird problem. >>> >>> I've noticed this before >>> >>> >>> >>> John Widera a écrit : >>>> >>>> This is a **THUNDERBIRD** problem, not an IMAP problem. Thunderbird >>>> >>>> will >>>> >>>> give you all sorts of trouble with indexing. We use it here, and >>>> >>>> experience lots of corruped file issues with it (the corrupted files >>>> >>>> are >>>> >>>> the Thunderbird files, not the Cyrus files). >>>> >>>> >>>> >>>> TIP: >>>> >>>> Find the Thunderbird directory for the user (ours are in $HOME) and >>>> >>>> (if >>>> >>>> IMAP) rename the IMAPMAIL folder inside it to IMAPMAIL.old. Close >>>> >>>> Thunderbird first or you can't rename. Then relaunch Thunderbird and >>>> >>>> log >>>> >>>> in. Let it rebuild the index. THEN check to see if you can see all >>>> >>>> your >>>> >>>> mail. Bet you can. >>>> >>>> >>>> >>>> We also have a webmail app running, whenever people call to complain >>>> >>>> that >>>> >>>> something like that is wrong in T-bird I ask them to check in webmail. >>>> >>>> If >>>> >>>> it looks OK in webmail, it's a T-bird problem. 99.9% of the time, it >>>> >>>> is >>>> >>>> a >>>> >>>> T-bird problem. >>>> >>>> >>>> >>>> John >>>> >>>> >>>>> >>>>> Yes you've right I've tried with a test user and It's working fine. >>>>> >>>>> But >>>>> >>>>> I can't understand why I can't see new mail for my other user (a real >>>>> >>>>> one). Thunderbird say 190 mails unread but we can see only 1 mail >>>>> >>>>> unread ! >>>>> >>>>> And new mail seems to be lost (althougth this didn't happen with my >>>>> >>>>> test >>>>> >>>>> user where everything works fine) >>>>> >>>>> >>>>> >>>>> But anyway, thanks for your help, and I keep on my investigation. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> John Widera a écrit : >>>>>> >>>>>> Forget what I said earlier, it was early in the morning and I wasn't >>>>>> >>>>>> thinking right. >>>>>> >>>>>> >>>>>> >>>>>> But you CAN just copy the old one over the newer one, if you are OK >>>>>> >>>>>> with >>>>>> >>>>>> losing your seen state of any msgs delivered since the last >>>>>> >>>>>> timestamp >>>>>> >>>>>> of >>>>>> >>>>>> the old seen file. >>>>>> >>>>>> >>>>>> >>>>>> If you wanted to spend the time you could probably dump both old and >>>>>> >>>>>> new >>>>>> >>>>>> seen files out to flat file, then merge the two by hand, and dump >>>>>> >>>>>> them >>>>>> >>>>>> back to the DB format of your liking (I assume you aren not using >>>>>> >>>>>> flat >>>>>> >>>>>> file now). Use cvt_cyrusdb for this. >>>>>> >>>>>> >>>>>> >>>>>> You could even script this in PERL pretty easily if you wanted to. >>>>>> >>>>>> Then >>>>>> >>>>>> you'd maintain the seen state of new files too. >>>>>> >>>>>> >>>>>> >>>>>> John >>>>>> >>>>>> >>>>>>> >>>>>>> Ok thank you for the help, I'll try this test >>>>>>> >>>>>>> >>>>>>> >>>>>>> John Widera a écrit : >>>>>>>> >>>>>>>> I've never done exactly that but I have to believe you can. Have >>>>>>>> >>>>>>>> a >>>>>>>> >>>>>>>> test >>>>>>>> >>>>>>>> user? Try it on the test user. Copy the seen file to /tmp then >>>>>>>> >>>>>>>> send >>>>>>>> >>>>>>>> the >>>>>>>> >>>>>>>> user a couple dozen msgs. Read some, leave the others unread. >>>>>>>> >>>>>>>> Then >>>>>>>> >>>>>>>> copy >>>>>>>> >>>>>>>> the old seen file back over the current one and run a reconstruct >>>>>>>> >>>>>>>> as >>>>>>>> >>>>>>>> Cyrus >>>>>>>> >>>>>>>> user on the mailbox. It's a super easy test. >>>>>>>> >>>>>>>> (/usr/cyrus/bin/reconstruct >>>>>>>> >>>>>>>> -r user.<nameofyourtestuser> or whatever your path). If it >>>>>>>> >>>>>>>> doesn't >>>>>>>> >>>>>>>> work, >>>>>>>> >>>>>>>> well, just delete the test user! >>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>>> No answer ! >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> So could I say that there is no possibility to restore an old >>>>>>>>> >>>>>>>>> seen >>>>>>>>> >>>>>>>>> file >>>>>>>>> >>>>>>>>> for an user ? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> thanks for your help >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Mathieu Kretchner a écrit : >>>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Is it possible to restore seen file even if the mailbox has >>>>>>>>>> >>>>>>>>>> changed >>>>>>>>>> >>>>>>>>>> ? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> If yes how ? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> thanks >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ---- >>>>>>>>>> >>>>>>>>>> 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 >>>>>>>>> >>>>>>>>> ---- >>>>>>>>> >>>>>>>>> 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 >>>> >>>> >> >> >> >> > > Mathieu Kretchner a écrit : > So thank you all and specially John Widera for your help, > > Just a simple replace of the new seen file by an old one allowed me to > restore the seen flag on thousand mails. > > Andreas Winkelmann a écrit : >> Am Mittwoch 15 April 2009 14:56:32 schrieb Mathieu Kretchner: >> >> >>> No answer ! >>> >>> So could I say that there is no possibility to restore an old seen file >>> for an user ? >> >> What means "old"? What has changed? >> >> >> Each Mailbox has a unique number which is in the seen-File and each >> Message has a unique number which is also in the seen-File. >> >> >> Sure you can restore an old seen-File, but the work you have to do while >> or after doing this depends on the changes you have made to the Mailbox >> and the Messages. >> >> >> -- >> Andreas >> >> >> >> ------------------------------------------------------------------------ >> >> ---- >> 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 >> ---- >> 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
begin:vcard fn:Mathieu Kretchner n:Kretchner;Mathieu org:INRIA;Syslog adr;dom:;;2004 route des lucioles - BP93;Sophia Antipolis;;06902 CEDEX email;internet:mathieu.kretchner@xxxxxxxxxxxxxxx tel;work:04 92 38 76 67 x-mozilla-html:FALSE version:2.1 end:vcard
---- 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