This is a question very similar to others that I have found on these forums but have not found anything that exactly fits. Also some of the most useful answers are 7+ years old so I am wanting to receive confirnation that the way I *think* to do this, is correct.
Situation:
There are two accounts on the same WHM/cPanel server.
[email protected] has a forwarder to [email protected] which is a mailbox. I would like to stop forwarding to this second account and move the [email protected] mailbox from [email protected] in to [email protected] .
There are other (live) mailboxes on both accounts. So I can not edit anything at the account-wide level.
Both accounts are on the same server.
What Have I Tried?
I have read this but this doesn't seem to apply; although the title is exactly what I'm needing:
Move emails from one account to another on SAME server
SOLVED - Manually Copy Mail Accounts -- I have read this post but the accounts are of a size (10Gb and 4Gb) that I really want to avoid downloading and then re-uploading them again unless there is no other option.
How to move mails to another email account in same cPanel? -- This looks more like what I want but this is different mailboxes ON THE SAME ACCOUNT.
Would the solution to the last one apply even if moving mailboxes between accounts?
For example (From Tristan's Answer):
Will this work? Is this the best way of doing this?
Situation:
There are two accounts on the same WHM/cPanel server.
[email protected] has a forwarder to [email protected] which is a mailbox. I would like to stop forwarding to this second account and move the [email protected] mailbox from [email protected] in to [email protected] .
There are other (live) mailboxes on both accounts. So I can not edit anything at the account-wide level.
Both accounts are on the same server.
What Have I Tried?
I have read this but this doesn't seem to apply; although the title is exactly what I'm needing:
Move emails from one account to another on SAME server
SOLVED - Manually Copy Mail Accounts -- I have read this post but the accounts are of a size (10Gb and 4Gb) that I really want to avoid downloading and then re-uploading them again unless there is no other option.
How to move mails to another email account in same cPanel? -- This looks more like what I want but this is different mailboxes ON THE SAME ACCOUNT.
Would the solution to the last one apply even if moving mailboxes between accounts?
For example (From Tristan's Answer):
Code:
cp -R /home/account1/mail/account1.com/abc/{cur,new}/ /home/account2/mail/account1.com/abc/