mailbox migration/repair question

Joe Vieira jvieira at clarku.edu
Thu Feb 18 09:14:35 EST 2010


So, if I create the directory structure for cyrus... 
spool/s/user/systemsmonitors  then reconstruct user.systemsmonitors  and 
try to deliver a message i get a mailbox does not exist error...

cat 4EA39BD0EEF |  /usr/lib/cyrus-imapd/deliver -e -r jvieira at clarku.edu 
user.systemsmonitors
user.systemsmonitors: Mailbox does not exist

Ideas?


Joe Vieira wrote:
> For a totally less seamless solution:
>
>     What if I created the partition and created the empty mailboxes then 
> moved the restored mail back in as "restored-foldername" This would ruin 
> the seen.db, but...at least it would all be there in a pretty logical 
> location.
>
> Please weight in on this and tell me if you think it's feasible/advisable.
>
> Thanks you SO MUCH!
>
> Joe
>
> Joe Vieira wrote:
>   
>> Does any one know which cyrus file contains this?  Can I copy it over 
>> without the others?
>>
>> Joe
>>
>> Andrew Morgan wrote:
>>   
>>     
>>> On Wed, 17 Feb 2010, Joe Vieira wrote:
>>>
>>>   
>>>     
>>>       
>>>> Hi,
>>>>
>>>> So, We have an imap volume (ext3) that doesn't seem to come back up 
>>>> clean after a few crashes.  fsck is a mess.  Shows clean; mount it; 30 
>>>> minutes later it's throwing errors and needs to be fsck'd again.  (any 
>>>> ideas about that i'd love to hear)
>>>>
>>>> So I am considering in the interest of getting these students back using 
>>>> email, setting up a new volume, mount it as the same imap partition and 
>>>> creating "shell" mailboxes for all the users on it, basically an empty 
>>>> mailbox that I can let them log into, send and receive new mail, etc. 
>>>> I was thinking about doing this by making the simple directory structure 
>>>> for all the users then doing a reconstruct to make the cyrus.* files. 
>>>> The plan would then be to restore from backup (or the corrupt drive in 
>>>> read only). My concern however is that the UID of the messages will get 
>>>> duplicated.  Basically does this idea make ANY sense to you guys?  Will 
>>>> it work?  Other ideas?
>>>>     
>>>>       
>>>>         
>>> One of those cyrus.* files should contain the max UID - I can't remember 
>>> which.  If you can restore/copy that across, it should (I think) number 
>>> any new messages starting from there.  Then you can restore/copy the 
>>> original messages across later.
>>>
>>> I've never tried this before, so I may be getting it wrong.  Hopefully 
>>> someone with more in-depth knowledge of Cyrus can comment.
>>>
>>>  	Andy
>>>   
>>>     
>>>       
>> ----
>> 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
>   



More information about the Info-cyrus mailing list