How do I Move Resource Mailboxes Between Mailnodes?
Scalix Wiki -> FAQ -> How do I Move Resource Mailboxes Between Mailnodes?
1) Run the commands ommodu and ommodent once on each entry, plus the command omexeccda twice at the end. This creates a directory called "RESOURCES". (See the HowTo: Creating an Additional Scalix Directory for Resource Scheduling".)
2) Review the mailnodes. You will move a resource mailbox from the "flipper" mailnode to the "tkogt,telkonet" mailnode.
root@flipper root]# omshowmn ** flipper tkogt,telkonet
3) The mailbox moved is named "room". Note the mailnode setting.
[root@flipper root]# omshowu -n cn=room Authentication ID: Room@scalix.field User Name : Room /CN=Room MailNode : flipper Internet Address : "Room" <Room@scalix.field>="Room" <Room@flipper.scalix.field> System Login : 60548 Password : set External authentication only: NO Admin Capabilities : NO Mailbox Admin Capabilities : NO Language : C Virtual Vault : Enabled (default) Mail Account: Unlocked Last Signon : 08.15.05 10:15:09 Receipt of mail : ENABLED Service level : 0 Excluded from Tidying : NO
4) Move the mailbox to the second mailnode. Note that this is modifying the USERLIST directory entry (all mailboxes automatically go in the USERLIST directory).
[root@flipper root]# ommodu -o room/flipper/cn=room -n room/tkogt,telkonet/cn=room ommodu: The user was modified successfully
5) Review the mailbox. Notice the mailnode changed.
[root@flipper root]# omshowu -n cn=room Authentication ID: Room@scalix.field User Name : room /CN=room MailNode : tkogt,telkonet Internet Address : "Room" <Room@scalix.field>="Room" <Room@flipper.scalix.field> System Login : 60548 Password : set External authentication only: NO Admin Capabilities : NO Mailbox Admin Capabilities : NO Language : C Virtual Vault : Enabled (default) Mail Account: Unlocked Last Signon : 08.15.05 10:15:09 Receipt of mail : ENABLED Service level : 0 Excluded from Tidying : NO
Note that the directory entry RESOURCES now should be modified as well. First review the entry.
[root@flipper root]# omsearch -d RESOURCES -e cn=room S=Room/OU1=flipper/CN=Room/INTERNET-ADDR="Room" <Room@scalix.field>="Room" <Room@flipper.scalix.field>
6) Modify the entry.
[root@flipper root]# ommodent -d RESOURCES -e cn=room -n cn=room/ou1=tkogt/ou2=telkonet [OM 16961] Modified 1 entry in the Directory [root@flipper root]# omsearch -d RESOURCES -e cn=room S=Room/OU1=tkogt/CN=room/INTERNET-ADDR="Room" <Room@scalix.field>="Room" <Room@flipper.scalix.field>/OU2=telkonet
7) Reset the Client Directory Access.
[root@flipper root]# omexeccda Fetching all entries from Directory ... Please wait Sorting Directory entries ... Please wait Building Directory Access Tables ... Please wait [root@flipper root]# omexeccda -d RESOURCES Fetching all entries from Directory ... Please wait Sorting Directory entries ... Please wait Building Directory Access Tables ... Please wait