Moving 100 email addresses from one domain on my MiaB to another domain on my MiaB?

I have two domains on my client’s MiaB. domain.org and sub.domain.org
I would like the move the 120 accounts under domain.org over to the sub.domain.org. sub.domain.org has about 10 accounts.

Can I just move all of the folders under /home/user-data/mail/mailboxes/domain.org to the folder /home/user-data/mail/mailboxes/sub.domain.org ?

Then I need to remove the domain.org from the mailinabox. Which I assume is solved by deleting the /home/user-data/mail/mailboxes/domain.org folder.

Do I have this right?

Keith.

I am assuming that I can just login as root and then do this…

sudo mv /home/user-data/mail/mailboxes/domain.org/* /home/user-data/mail/mailboxes/sub.domain.org/*

Conveniently the MiaB considers the sub.domain.org as its primary domain and the box’s name is matched to it.

And then when I confirm the users have moved, just need to…
sudo rmdir -r /home/user-data/mail/mailboxes/domain.org
This is a question. :slight_smile:

the mv command successfully moved the directories to the other domain and the admin interface seems to confirm that the users moved to the other domain too. My problem now is how to use the cURL commands to activate the accounts now in the other domain. I can do them manually just fine. I am clearly missing something as the cURL commands don’t work in the SSH connection to the server.

Wouldn’t this just be adding in the new domain and removing from the old domain?

Have you checked out this?