LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-17-2008, 11:56 AM   #1
thejonmoore
LQ Newbie
 
Registered: Jul 2005
Location: Kentucky
Distribution: Debain, Slack, Fedora
Posts: 18

Rep: Reputation: 0
Moving from sendmail on redhat to postfix on debian..


I've recently inherited the mail server for a small ISP with about 1 000 users. Currently, it's running Red Hat 7.1 and sendmail (unsure of version).

I'm curious for ways to move the current mail over to a new server.

Could I simple install debain on a new server, install postfix, configure it, then copy over the "/var/spool/mail" directory to the new server, change ownership, and copy "/etc/passwd" and "/etc/shadow" and all things be good?

Is there a process for doing this? Basically, I want to end the day with..

1. A debian machine running postfix
2. All user accounts move to the new server (same username / password)
3. All mail moved to the new server
4. Happy customers that don't even notice the change.

Thanks for your thoughts.
 
Old 04-17-2008, 12:05 PM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
That should not be a problem, i am not sure whether debian and postfix play very nice given that exim is debians default MTA,

Anyway RH7.1 supported shadow passwords so moving those entries across should work, when done you can the rsync the users directories.

If you are going to use a newer mail storage format like maildir which you should i think you should use one of the convertors available to convert from mbox to maildir, you could use imapsync but that requires that you know the passwords on both sides and will take considerably longer.

Phew what have i forgotten ...
 
Old 04-17-2008, 12:25 PM   #3
thejonmoore
LQ Newbie
 
Registered: Jul 2005
Location: Kentucky
Distribution: Debain, Slack, Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
Anyway RH7.1 supported shadow passwords so moving those entries across should work, when done you can the rsync the users directories.
What directories would I be rsyncing?
 
Old 04-17-2008, 12:30 PM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
The users home directores and the mail in /var/spool/mail
 
Old 04-17-2008, 12:32 PM   #5
thejonmoore
LQ Newbie
 
Registered: Jul 2005
Location: Kentucky
Distribution: Debain, Slack, Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
The users home directores and the mail in /var/spool/mail
Ah, yes. I thought I might have missed something else :P

Thanks for the comments.
 
  


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
postfix error :use the Postfix sendmail command soroccoheaven Linux - Server 4 02-03-2016 01:55 AM
Slamd 10.2 Sendmail-> Moving to Maildir from Mbox Smillie Slackware 4 07-18-2007 05:00 PM
Moving server - Mail Accounts - Postfix ]SK[ Linux - Software 1 03-26-2005 10:28 AM
Moving a working Cyrus IMAP/Postfix setup rnturn Linux - Software 0 03-24-2004 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration