re-adding a folder

Ken Murchison murch at andrew.cmu.edu
Tue Apr 4 15:19:00 EDT 2006


Michael Johnson wrote:
> On Apr 4, 2006, at 2:26 PM, Ken Murchison wrote:
> 
>> Michael Johnson wrote:
>>
>>> Hi gang
>>> I have a user who deleted a subdirectory.
>>
>>
>> Deleted it how?  From the filesystem, or via IMAP?
> 
> 
> Yes, using Outlook via an IMAP connection.  Sorry...should have been  
> clearer on that.
> 
>> You will most likely want:
>>
>> reconstruct -r -f <parent mailbox of deleted hierarchy>
> 
> 
> So to be clear:
> 
> bash$ cyradm --user cyrus localhost
> 
> <enter password when prompted>
> 
> cyradm> reconstruct -r -f /path/to/cyrus/imap/j/user/joe_schmoe/
> 
> Trailing slash or no?


I wouldn't do this from within cyradm.  Just use the reconstruct(8) as 
the cyrus admin user:

reconstruct -r -f user.joe_schome


-- 
Kenneth Murchison
Systems Programmer
Carnegie Mellon University


More information about the Info-cyrus mailing list