Hi, how are you?
I did a manual migration of the emails from an account with CPanel to Hestia, copy all the CUR, NEW and TMP directories of each user to the corresponding directories of each Hestia user, for example /home/user/mail/user.com/user / cur [new] [tmp],
Before I had created each account and entered roundcube so that the corresponding files and directories would be created.
When entering Roundcube again to check the emails, the following error appears.
STATUS: Internal error occurred. Refer to server log for more information. [2020-10-12 10:44:39] (0.001 + 0.000 secs).
Did you set the files with the correct owners/Rights?
Normally those are the normal causes of any issues.
Easiest way I found was with https://imapsync.lamiral.info just provider with an email account + old server and the new account + newsserver… And then wait…
I am new to server administration, after lots of research and tried different open source control panels, finally I decided to use HestiaCP and I like it.
I have migrated my website from Cpanel to HestiaCp and all works fine, now I have to migrate my email accounts, but did not get any proper resources, I have searched in the forum and google, I am not able to fine right solution.
I have tried to copy email folders from cpanel to /home/username/mail/domain.com/
but getting below error while login to email account
“Server Error: STATUS: Internal error occurred. Refer to server log for more information. [2020-10-12 23:27:54] (0.001 + 0.000 secs).”
we’ll not provide any tutorial, that are enough out in the wild . Usualy, man imapsync or https://linux.die.net/man/1/imapsync is always a good source how to get in touch with such commands.
https://imapsync.lamiral.info/X/
These accounts are in CPanel and are for users, therefore I do not know the Password credentials of each account, and imapsync.lamiral requests them
Those values are most commonly used how ever you are able use your own mail servers…
Probably you will need have already changed the password when you have created the new email account. So just change the password on the old server to a value you know…
Thanks for the support, my issue is solved by changing mail folder permissions
solution:
/home/username/mail/domain.com/support (path of the email folder)
run below command to verify current folder permissions to ‘support’ email folder ls -l output:drwx------ 10 user mail 4096 Oct 12 13:59 support
And then run chown -hR user:mail support/ ls -l output:drwx------ 10 user mail 4096 Oct 12 13:59 support
note: replace ‘user’ to your username.
ref: https://en.wikipedia.org/wiki/Chown