image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
Thread Tools
  #1  
Old June 20th, 2008, 04:50 PM
Chilternburt's Avatar
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Chilternburt is on a distinguished road
Mail Move

I have to move a clients mail from and old powermac to a newer G5 tower, both of which are running 10.4.11 Server....
Do i just have to recreate the user accounds in the Workgroup Manager and copy the /var/imap
and /var/spool/imap
or is there more to it, any suggestions would be welcome, esp since my command line skillz are lacking a bit
thanks in advance!
Reply With Quote
  #2  
Old June 21st, 2008, 03:50 PM
Michael Dhaliwal, ACSA
 
Join Date: Mar 2003
Location: Chicago, IL
Posts: 1,057
Thanks: 0
Thanked 2 Times in 2 Posts
Go3iverson is on a distinguished road
Are you using an Open Directory? If so, then you should be able to setup the new machine as a 10.4.11 Open Directory Replica, remove the current server and promote the Replica to Master.

You could look at mailbfr (http://osx.topicdesk.com/content/view/41/57/) as a possible way to backup all the data and restore.

You can also look at the Mail service guide:
http://images.apple.com/server/macos...0.5_2nd_Ed.pdf

I would test all ideas in a trial environment before deciding that it's done!

Michael
__________________
Michael Dhaliwal
ACSA, Xsan Certified, etc, etc...
District13 Computing
Reply With Quote
  #3  
Old June 26th, 2008, 09:14 PM
Volunteer Tech
 
Join Date: Apr 2005
Posts: 580
Thanks: 0
Thanked 3 Times in 3 Posts
Kees Buijs will become famous soon enough
Quote:
Originally Posted by Chilternburt View Post
I have to move a clients mail from and old powermac to a newer G5 tower, both of which are running 10.4.11 Server....
Do i just have to recreate the user accounds in the Workgroup Manager and copy the /var/imap
and /var/spool/imap
or is there more to it, any suggestions would be welcome, esp since my command line skillz are lacking a bit
thanks in advance!
Effectively there are a few steps to take.

First of all copy all data from the map /var/spool/imap to the new location.

2nd use the following commands:

su
mv /var/imap /var/imap.old
mkdir /var/imap
/usr/bin/cyrus/tools/mkimap
chown -R cyrusimap:mail /var/imap
chown -R cyrusimap:mail /var/spool/imap
sudo -u cyrusimap /usr/bin/cyrus/bin/reconstruct -i
sudo -u cyrusimap /usr/bin/cyrus/bin/cyrus-quota -f

There is a difference for 10.3 and 10.4 in user / group name, this sequence is for 10.4. Always tes before applying. If needed, you can even put the mail on another location (using serveradmin /mailmodule). If have done that to prevent mail lose when reinstalling os-x server.

See also document 107996 on the apple site.


Users can be exported and imported using wgm. Passwords (in od) is also possible, but i have not available the command for it. But there is a thread in this are specifying the required command. Otherwise the poster might help you out on that subject.


Good luck, Kees
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:05 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.