Copy/Migrate user eMail to another

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

charon
Posts: 128
Joined: Sun Jul 01, 2007 5:38 am
Location: Germany
Contact:

Copy/Migrate user eMail to another

Postby charon » Wed Nov 21, 2007 7:22 am

Hi,

how can i move the mail data from a retired user to another existing user?

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Wed Nov 21, 2007 10:23 am

quick and dirty? :-)


Assuming the data is being migrated to user called "charon" on mailnode called "scalix"

omaddmn -m test
omdlelent -e s=olduser
ommodu -o olduser -n "charon/test" -x
omcpoutu -n charon/test -f /tmp/mailbox.file
omcpinu -f /tmp/mailbox.file -m scalix
omdelu -n "charon/test" -x

not pretty, but works for me.

charon
Posts: 128
Joined: Sun Jul 01, 2007 5:38 am
Location: Germany
Contact:

Postby charon » Wed Nov 21, 2007 10:29 am

thanks :)

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Nov 23, 2007 6:16 am

In Scalix 11 you can use sxmboxexp and sxmboximp instead of omcpoutu and omcpinu.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron