Search

smyles tools

GetWebsiteIP.com

Recent GitHub Activity

@tripflex
tripflex starred Katamaze/WHMCS-Action-Hook-Factory Jan 18, 2021
Katamaze/WHMCS-Action-Hook-Factory

Free collection of Action Hooks, Reports and Modules to perfect your WHMCS

PHP 42 Updated Jan 18

@tripflex
tripflex starred developit/optimize-plugin Jan 16, 2021
developit/optimize-plugin

Optimized Webpack Bundling for Everyone. Intro ⤵️

JavaScript 455 Updated Jan 16

@tripflex
tripflex starred pastelsky/bundlephobia Jan 16, 2021
pastelsky/bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project

JavaScript 5.7k 1 issue needs help Updated Jan 18

@tripflex
tripflex starred relative-ci/bundle-stats Jan 15, 2021
relative-ci/bundle-stats

In-depth bundle analyzer for webpack(bundle size, assets, modules, packages)

JavaScript 133 Updated Jan 17

@tripflex
tripflex opened a pull request in Automattic/WP-Job-Manager Jan 12, 2021
job_category frontend validation fix, select2 target job_category only #2102

Fixes #2095 Changes proposed in this Pull Request Fixes frontend validation of job_category field (jobCategory.val() always returns true because v…

+3 -3

Featured Downloads

  • TransCore Cloud 1.5.2 (2405 downloads)
  • Windows Update Agent for Windows XP x64 (2411 downloads)
  • Serato/Traktor SSL Database Importer for Mac OSX Application (1783 downloads)
  • Songr (2991 downloads)
  • Google Data Center Windows 7 Theme (2580 downloads)

Recent Comments

Gery M

it did not solve my problem still the same

Gery M

did you find your solution, i am stuck no

Camillo Camera

Yeah!! thanks!! Now my macbook pro work!! ^_^

Popular Posts

Ubuntu End of Life Package Repository
21 Jul , 2014

How to fix Ubuntu/Debian apt-get 404 Not Found Package Repository Errors (Saucy, Raring, Quantal, Oneiric, Natty…)

Ajenti V
14 Feb , 2014

How to setup a WordPress PHP site with Nginx, PHP5-FPM, and MySQL using Ajenti V with working Permalinks

Plex Media Server
18 Nov , 2013

How to move Plex metadata and index data to new drive/partition and/or directory location

Bunch of Flash Drives
28 Mar , 2013

Tutorial How to build the Ultimate Bootable Custom USB Flash Drive with Multiple ISOs for Windows, Linux, Etc, and PortableApps for Windows Desktop.

D-Link Boxee Box
05 Dec , 2013

How to obtain root, install and run XBMC on D-Link Boxee Box

16 Oct , 2012

Samsung Galaxy III (S3) GT-I9300 JTAG Leaked Document. How to repair soft bricked Galaxy S3.

Git’n Busy

  • Github
  • GitTip

Tags

Android apache apt-get backup bash Container cPanel Database debian DNS Download email Errors files footer ftp Git install jQuery linux mac Mail MySQL node open source OpenVZ output php Plex plugin Popup proxmox Remove s3 script server ssh suphp Ubuntu Unmount Update upgrade whmcs Windows wordpress
Code and Tech Junkie
  • Menu
  • About
  • Plugins
  • Downloads
  • Contact
  • Github
  • GitTip

How to move or restore cPanel emails and accounts to another folder or server

07 May , 2011 No Comments Standard Post
cpanel

All cPanel email will be stored in a folder similar to this:

/home/user/mail/domain

If you remove an addon domain from a cpanel account, the email will still be left on the server (as well as ftp, etc). This is good and bad, i think more on the good side. If you need to move any email from one account to another you can do so through ssh

Shell
1
cp -rf /home/olduser/mail/ /home/newuser/

This will copy all the files from the /home/olduser/mail/ directory, including the directory itself to the /home/newuser/ folder. This means any addon domains, all those emails are included. If you only want a specific domain you can copy that folder and follow the same steps below. -r is recursively so it copies all files and folders. -f is force so it overwrites any files that may already be there.

Now that you have moved the emails over we need to set the permissions on that folder since it now has a new owner and group.

Shell
1
chown -R newuser:newuser /home/newuser/mail

This will change ownership of the folder to the new users account it is actually under. -R is recursively so it changes it for all files and folders. Must be a capital R.

That’s all there is to it, cPanel will automatically load all the email accounts.

Easy right?

Emails still not showing up? Make SURE you CHOWN the directories to the correct user!

#migrate addon domain email account to other cpanel #move email #restore email
Share

Myles

Orlando, FL

Did this post help you?

Give back and rate it for me!

Related Posts

22 Dec , 2017

Setting ArduinoJson value from C++ STL Containers (std::vector, std::array, etc)

CloudFlare EasyApache4 Problems
07 Nov , 2017

CloudFlare mod_cloudflare WHM EasyApache4 CloudLinux Cannot load modules/mod_cloudflare.so

WordPress Login Form wp-login.php
19 Jan , 2017

How to block wp-login.php brute logins with cPanel, mod security, and ConfigServer Firewall

16 Dec , 2016

How to fix Mac OSX stuck/hanging on progress bar after login

expert-button

(C) 2014 Myles McNamara