Page 1 of 1

Copy/Migrate user eMail to another

Posted: Wed Nov 21, 2007 7:22 am
by charon
Hi,

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

Posted: Wed Nov 21, 2007 10:23 am
by mikethebike
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.

Posted: Wed Nov 21, 2007 10:29 am
by charon
thanks :)

Posted: Fri Nov 23, 2007 6:16 am
by Valerion
In Scalix 11 you can use sxmboxexp and sxmboximp instead of omcpoutu and omcpinu.