Skip to main content

Emails

Comments

2 comments

  • William Del Piero cPanel Staff

    Hi,

     

    If the account backup is using the same storage type for email, extracting mail from the backup to restore it should be possible. For example, if the backup and current account are both using maildir this should be possible. You can check the storage type with the following command:

     

    # grep mailbox_storage /var/cpanel/cpanel.config

     

    If the backup in question was generated from cPanel, you can use the guide below to extract emails from the backup:

     

    How to manually locate and extract a file or directory from a cPanel backup

     

    Depending on the permissions of the mail within the backup, you may need to manually correct the file ownership and/or permissions of the email after restoring it.

    0
  • cPanelPeter cPanel Staff

    To be clear, the value set within /var/cpanel/cpanel.config is the default. Each customer can also change the mailbox format, so it would also be good to check what is set within...

    /home/$user/mail/$domain/$localname/mailbox_format.cpanel

    Replace #user with the cPanel username
    Replace $domain with the domainname.tld
    Replace $localname with the first part of the email. address (before the @ )

     

    0

Please sign in to leave a comment.