cpanel mail to vesta

Post Reply
User avatar
T4B
Posts: 124
Joined: Sat Jul 11, 2020 9:44 am
cpanel mail to vesta

Post by T4B »

hello how can move cpanel mails to vestacp webmail ?

User avatar
myVesta
Site Admin
Posts: 719
Joined: Fri Jun 19, 2020 9:59 am
Re: cpanel mail to vesta

Post by myVesta »

You can import whole cpanel backup - viewtopic.php?f=24&t=63

But there is another solution.
cPanel is using the same mbox format for mails, so you can even create empty email accounts in myVesta, and then simply copy those mail files from cPanel to myVesta server (destination folder will be: /home/user/mail/domain.com/emailusername/)
After that, just delete dovecot caching files:

Code: Select all

sudo find /home/user/mail/domain.com/emailusername/ -type f -name 'dovecot*' -delete
sudo systemctl restart dovecot

User avatar
T4B
Posts: 124
Joined: Sat Jul 11, 2020 9:44 am
Re: cpanel mail to vesta

Post by T4B »

Code: Select all

sudo find /home/user/mail/domaim.com/emailusername/ -type f -name 'dovecot*' -delete
sudo systemctl restart dovecot
this commands for myvestacp ?

User avatar
myVesta
Site Admin
Posts: 719
Joined: Fri Jun 19, 2020 9:59 am
Re: cpanel mail to vesta

Post by myVesta »

Yes


Post Reply