Re: Recovering cyrus users and folders from backup

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

 



Thanks David,
 
Permissions were already checked, thanks.
 
Issue solved.
 
Im ashamed though. Problem was all files were missing the final dot. Info was recovered from the server's dead HD  
with a windows application, then copied back to the new Linux server running cyrus. Thus, files dots were ripped off in the process.
 
Made a little shell script to add the dot to each file and everything's fine now.
 
 
Thanks a lot
Diego
 


 
On Thu, Mar 11, 2010 at 1:10 PM, David F Curtin <dfcurtin@xxxxxxxxxxxxxxxx> wrote:
If you are copying them as root, the files probably belong to root. Have you checked the files to see if they belong to cyrus?
If cyrus can't access them, it can't make them available through cyrus.

Dave Curtin


On 03/11/2010 10:18 AM, Diego V wrote:
Update from my first post:

Created a new folder from thunderbird, copied some messages from another
folder into it and no problem, I can see those messages (all this  from
thunderbird)
I can see those messages on the server too of course. Now, I copy files from
another folder into that new folder (not from the client but from the
server), run reconstruct and cant see them either.
Same thing thats keeping me from seeing the backed up folders.


Already check permissions also from cyradm:
lam user.diego
diego lrswipkxtecda
Pleaaasee. Somebody help me on this.

Thanks
Diego


 
My cyrus server discs died and I was just able to recover some of the data.
   

 
I have almost everything from /var/spool/imap but none from /var/lib/imap
   

 
Thus I copy just one user's mailbox for testing. I created that user again
   
with cyradm, then copied all >messages to its /var/spool/imap/f/user/foouser
folder. Run reconstruct for that mailbox.
 
So far so good. Now, when trying to check mails both from outlook and
   
thunderbird I can see the folders >but no single message inside them.

 
Both partitions have permissions set. chown -R cyrus.mail . chmod -R 750
   

 
Apparently, clients are looking where they should. I get these lines on
   
maillog when I ty to browse a >folder:
 
open: user xxx opened INBOX.folder
   
 >open: user xxx opened INBOX.folder2

 
No messages are shown though but all files are on those mail folders. Ive
   
run every database or mailbox >reconstruction utility with no success.

 
I would really REALLY appreciate any help-
   

 
Thanks
Diego
   

 ------------------------------------------------------------------------

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

--
David F. Curtin, Network Administrator, FPG Child Development Institute
dfcurtin@xxxxxxxxxxxxxxxx
(919) 966-7191


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