Skip to main content

Problems restoring email backup

Comments

10 comments

  • cPanelLauren
    Hello @Luiz Guilherme Based on the error you're supplying: [INFO]=[Mailboxes::get_mailbox_status_list(HASH(0x32ed9b8)) failed: "/usr/bin/doveadm" relatou o c"digo de erro "75" quando foi encerrado: doveadm(marcelo@example.net.br): Error: opendir(/home/gipni555gy05/mail/selection.net.br/marcelo/cur) failed: Permission denied (euid=501(gipni555gy05) egid=501(gipni555gy05) missing +r perm: /home/gipni555gy05/mail/example.net.br/marcelo/cur, we're not in group 687) doveadm(marcelo@example.net.br): Error: Mailbox INBOX: Failed to lookup mailbox status: opendir(/home/gipni555gy05/mail/selection.net.br/marcelo/cur) failed: Permission denied (euid=501(gipni555gy05) egid=501(gipni555gy05) missing +r perm: /home/gipni555gy05/mail/example.net.br/marcelo/cur, we're not in group 687) ]
    Specifically: opendir(/home/gipni555gy05/mail/selection.net.br/marcelo/cur) failed: Permission denied (euid=501(gipni555gy05) egid=501(gipni555gy05) missing +r perm:
    It seems to be a permissions error - what are the permissions of /home/gipni555gy05/mail/selection.net.br/marcelo/cur
    0
  • Luiz Guilherme
    Hello @cPanelLauren, Thank you for answering my topic. I'm sorry, I do not know much about the system but if I can understand how I do it, I think I can do it. How do I see permissions for this folder? Which permission should I configure?
    0
  • Luiz Guilherme
    Hello @Luiz Guilherme Based on the error you're supplying: [INFO]=[Mailboxes::get_mailbox_status_list(HASH(0x32ed9b8)) failed: "/usr/bin/doveadm" relatou o c"digo de erro "75" quando foi encerrado: doveadm(marcelo@example.net.br): Error: opendir(/home/gipni555gy05/mail/example.net.br/marcelo/cur) failed: Permission denied (euid=501(gipni555gy05) egid=501(gipni555gy05) missing +r perm: /home/gipni555gy05/mail/example.net.br/marcelo/cur, we're not in group 687) doveadm(marcelo@example.net.br): Error: Mailbox INBOX: Failed to lookup mailbox status: opendir(/home/gipni555gy05/mail/example.net.br/marcelo/cur) failed: Permission denied (euid=501(gipni555gy05) egid=501(gipni555gy05) missing +r perm: /home/gipni555gy05/mail/example.net.br/marcelo/cur, we're not in group 687) ]
    Specifically: opendir(/home/gipni555gy05/mail/selection.net.br/marcelo/cur) failed: Permission denied (euid=501(gipni555gy05) egid=501(gipni555gy05) missing +r perm:
    It seems to be a permissions error - what are the permissions of /home/gipni555gy05/mail/example.net.br/marcelo/cur

    I found that on my WHM: i.gyazo.com/3ce591462a8915e6e5f072a8ce9d7350.png says: Rebuild Mail Databases and Fix Permissions Checking mx configuration for example.domain.br (gipni555gy05)...[auto]...Done Checking mx configuration for example.domain.com.br (gipni555gy05)...[auto]...Done Checking mx configuration for example.net.br (gipni555gy05)...[auto]...Done Checking mx configuration for example.domain.com.br (gipni555gy05)...[auto]...Done Checking mx configuration for example.com.br (gipni555gy05)...[local]...Done Unable to fix ownership on /home/gipni555gy05/mail/example.net.br/marcelo/cur: currently (689:687), should be (501:501) Unable to fix ownership on /home/gipni555gy05/mail/example.com.br/fabio/cur/1307478528.H269018P3626.br48.hostgator.com.br,S=42551:2,S: currently (689:687), should be (501:501) Complete!
    I do not know if this tool is what I needed to do but it says it failed to correct just the folder you quoted that needed permission..and now what should I do?
    0
  • cPanelLauren
    Hi @Luiz Guilherme You'll need to change the ownership of the directory/files to match your current user/ownership. Can you run the following: stat /home/gipni555gy05/mail/example.net.br/marcelo/cur
    as well as the same command on /home/$user
    0
  • Luiz Guilherme
    Hi @Luiz Guilherme You'll need to change the ownership of the directory/files to match your current user/ownership. Can you run the following: stat /home/gipni555gy05/mail/example.net.br/marcelo/cur
    as well as the same command on /home/$user

    Hi @cPanelLauren . So i need to do this comand on SSH? I did not understand which owner I should change...have to be?
    0
  • cPanelLauren
    Hi @Luiz Guilherme Yes, you'll need to run the commands over SSH. Your ownership or UID/GID of the account will not be your email address it will be a username assigned to your hosting account. Thanks!
    0
  • Luiz Guilherme
    Hi @Luiz Guilherme Yes, you'll need to run the commands over SSH. Your ownership or UID/GID of the account will not be your email address it will be a username assigned to your hosting account. Thanks!

    Thanks @cPanelLauren, so i guess my username is [removed], like on this pic on my WHM: [removed]
    0
  • cPanelLauren
    Hi @Luiz Guilherme Please add attachments directly to the thread and please don't link to external sources, we've removed the external link. With that being said yes that is your username. My assumption would be that your username for the folder/data within needs to be changed to match your new username. chown -R $username:$username /home/$username/mail/example.net.br/
    Just replace any instances of $username with your actual username.
    0
  • Luiz Guilherme
    Hi @Luiz Guilherme Please add attachments directly to the thread and please don't link to external sources, we've removed the external link. With that being said yes that is your username. My assumption would be that your username for the folder/data within needs to be changed to match your new username. chown -R $username:$username /home/$username/mail/example.net.br/
    Just replace any instances of $username with your actual username.

    Thank you @cPanelLauren, it's working but the webmail is being so slow to load the emails, what i can do to try fix it?
    0
  • cPanelLauren
    Hi @Luiz Guilherme That would depend on why it's being slow. When you load the inbox do you see any errors logged to the maillog? You can find it at /var/log/maillog
    Any output relevant to the issue would be helpful. Thanks!
    0

Please sign in to leave a comment.