The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restore Courier Mail Backup

Discussion in 'E-mail Discussions' started by feijao, May 2, 2006.

  1. feijao

    feijao Member

    Joined:
    Sep 5, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    I've a client who deleted all mail in one account.

    When I try to restore it from the backups by copying the files, I get this error in squirrelmail:

    ERROR : Could not complete request.
    Unknown response from IMAP server: 1.* NO Cannot open message 1 * NO Cannot open message 2 * NO Cannot open message 3 * NO Cannot open message 4 * NO Cannot open message 5 * NO Cannot open message 6 * NO Cannot open message 7

    How can I fix it?
    How can I restore only one e-mail account?


    Thanks
    Paulo Cardoso
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    What files did you copy and to where?

    I imagine you would need to copy the entirety of:

    backup.tar.gz/cpaneluser/homedir/mail/example.com/mailuser

    to:

    /home/cpaneluser/mail/example.com/mailuser
     
  3. feijao

    feijao Member

    Joined:
    Sep 5, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    That's what I did.
    I've copied all the files, including the cur and new directories.

    Any other idea?

    Paulo
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Did you set the right ownership and permissions on all the files after copying them over?
     
  5. Abhay_21

    Abhay_21 Registered

    Joined:
    Sep 29, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    It seems an issue with ownerships. The files in

    /home/user/mail/test.com/test/cur must be have the ownerships

    user:user

    :)
     
Loading...

Share This Page