Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Restore Courier Mail Backup

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

  1. feijao

    feijao Member

    Joined:
    Sep 5, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    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:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. feijao

    feijao Member

    Joined:
    Sep 5, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Did you set the right ownership and permissions on all the files after copying them over?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Abhay_21

    Abhay_21 Registered

    Joined:
    Sep 29, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice