Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
cPanel Email Migration - PC✗3
cPanel Email Migration

cPanel Email Migration

The mail for an individual cPanel account is stored in /home/$username/mail/$domain/$mailbox/, while metadata for the account (mailbox passwords and quotas) is stored in /home/$username/etc/$domain/.

For migrating a full domain to another account or server, copying these two folders and fixing their ownerships is sufficient to enact the migration. In addition, there are a few bonus files to look at:

  • /home/$username/.autorespond*
  • /home/$username/.spamassassin*
  • /home/$username/.sqmail*
  • /home/$username/.cphorde/
  • /etc/valiases/$domain

These are, respectively, autoresponders, SpamAssassin settings, SquirrelMail settings, horde settings, and forwarders. Each of these metadata files will add to the completeness of your mail migration, making a smoother experience for the clients when they start using the new server.

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.