View previous topic :: View next topic |
Author |
Message |
DAWG98 n00b
Joined: 16 May 2004 Posts: 34
|
Posted: Fri Oct 29, 2004 4:48 am Post subject: Cyrus 2.2.8 upgrade - I nuked my emails... |
|
|
I recently upgraded to Cyrus-Imapd-2.2.8 from -2.1.5. It required me to change the mailbox.db etc to flat/skiplist. In the conversion process I somehow nuked my master mailbox file. After rebuilding the file I can get and send email again, however, all my old emails can no longer be 'seen' using various email clients.
When I browse to /var/spool/imap/t/user/test/ I can still see the various smtp mail text files containing my old emails i.e., 1. 2. etc. It appears that some db or the cyrus.index/header/cache files do not provide the email client with the appropriate info to display the emails.
I tried reconstruct and mboxfer to no avail. Is there any way to recover, import or similar way so that the emails re-appear in my inbox?
Thanks,
DAWG98 |
|
Back to top |
|
|
DAWG98 n00b
Joined: 16 May 2004 Posts: 34
|
Posted: Sat Oct 30, 2004 8:28 pm Post subject: |
|
|
bump |
|
Back to top |
|
|
rical n00b
Joined: 25 Aug 2003 Posts: 2
|
Posted: Mon Nov 01, 2004 7:00 pm Post subject: |
|
|
Have you tried to follow these precise steps :
Cyrus migration
Sometimes the script hangs but don't worry and do it again
--
Rico |
|
Back to top |
|
|
DAWG98 n00b
Joined: 16 May 2004 Posts: 34
|
Posted: Mon Nov 01, 2004 8:55 pm Post subject: |
|
|
I was able to convert the databases no problem. Now the email works fine. But somehow I nuked my mailboxes.db and had to rebuild it from scratch. After the rebuild my old emails that were sitting in the Inbox no longer show up. However, I can still see the files containing the individual emails in the /var/spool/imap/user dirs. Is there a way to re-import the emails? |
|
Back to top |
|
|
georwell Guru
Joined: 25 Jun 2003 Posts: 430 Location: Uppsala, Sweden
|
|
Back to top |
|
|
DAWG98 n00b
Joined: 16 May 2004 Posts: 34
|
Posted: Fri Nov 12, 2004 5:47 pm Post subject: |
|
|
Thanks for all the input but nothing yielded the desired result. Instead, I exported the maildir emails into mbox format, opened the resulting file as a local folder in Mozilla and moved the emails to the appropriate folder.
I used maildir2mbox for the conversion (extracted from qmail). It worked pretty good, but kinda painful of a process. Anyone know of a simpler more convenient method?
DAWG98 |
|
Back to top |
|
|
DAWG98 n00b
Joined: 16 May 2004 Posts: 34
|
Posted: Wed Nov 17, 2004 4:47 am Post subject: |
|
|
I just wrote a script that re-delivers all emails older than the nuke date. Works like a champ
Code: |
/usr/lib/cyrus/deliver -e user filename
|
|
|
Back to top |
|
|
|