moving a full user to new username

ItsOnlyMe

Verified User
Joined
Apr 3, 2009
Messages
126
Location
Netherlands
Hello,

I need to move a username to a full new username.

so here it is:

I have this username admin running with 2 domains on it.
but this all has to be moved to a new username like rent1

is this possiable to move this ? and keep the mail thats in the mailbox at [email protected]?

i hope this is possiable.

Greetings,

ItsOnlyMe
 
Hello,

Code:
# /usr/local/directadmin/scripts/change_username.sh
DirectAdmin username changing script (Beta)

Usage: /usr/local/directadmin/scripts/change_username.sh oldusername newusername

But better use:

Code:
/usr/local/directadmin/scripts/move_domain.sh
Move Domain to User - v. 0.2

Usage:
/usr/local/directadmin/scripts/move_domain.sh <domain> <olduser> <newuser>
you gave #0: /usr/local/directadmin/scripts/move_domain.sh
 
With move_domain.sh only messages in virtual e-mail boxes will be transfered, located in:

/home/admin/imap/domain.com

nothing from /home/admin/Maildir (default mailbox, for user admin it's [email protected]) would be copy or transfer.
 
With move_domain.sh only messages in virtual e-mail boxes will be transfered, located in:

/home/admin/imap/domain.com

nothing from /home/admin/Maildir (default mailbox, for user admin it's [email protected]) would be copy or transfer.


Okay,

so if i move that domein over to a new user .. the maildir in admin stays there and that mail is lost or? I need to create a new mailbox [email protected].. and then transfer whats in /home/admin/maildir to /home/rent1/imap/domain.com/admin ??
 
Back
Top