LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-19-2008, 02:52 PM   #1
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
Mail server migration: From one domain to another with AD users


We currently have 2 domains and we will need to move some users from DOMAINA to DOMAINB. We are using AD for domain authentication but linux servers for mail. I have a hundred or so users I will need to move over but we are only doing a handfull at a time. What is the best way to migrate their current mail over to the new mail server? Both mail servers are running courier with ~/Maildir mail directory. Most of the users if not all are using imap.

Could I use rsync to sync their home directory in DOMAINA(mailserverA) to their home directory on DOMAINB(mailserverB)? We have a script that will create their home directory on domainB once we are ready to move them.

Ive looked at getmail/fetchmail but haven't really seen a good way to xfer multiple users at once.


What would be the best way to mass move users home directories(or at least copy in case something goes wrong)


thanks!
 
Old 11-19-2008, 04:38 PM   #2
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 42
I ended up just making a script:

Quote:
for i in `cat usernames`
do
rsync -a /home/$i server2:/home/
done;

will mess around with the rsync options to ensure timestamps/etc are preserved. But I think this should work for what I need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict users of a domain to send/receive mail from one particular domain tanveer Linux - Server 0 09-02-2007 02:01 AM
Someone plz help with a Mail Server Migration~! combilli Linux - Server 4 02-12-2007 11:53 AM
Mail Server Migration dapeng4001 Linux - Software 1 11-30-2005 09:47 AM
Mail Server Migration dapeng4001 Linux - Networking 0 11-29-2005 08:40 AM
mail server migration syl20 Linux - Software 1 12-06-2004 11:06 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration