Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I just wanted to say THANKS for the forum. The knowledge I gain from your site is invaluable..."

Geography

Where in the world do Tek-Tips members come from?
BIS (TechnicalUser)
6 Jun 07 7:02
Hallo All (or more likely: Hallo thedaver)

I am thinking of moving my qmail installation to new hardware. I was looking at imaging tools (for example http://www.mondorescue.org and the like) but could use a little input.

So - what is the best way to copy a working installation, and moving it to new hardware (and probably also new OS as this is still on debian from about 2004) ?
thedaver (IS/IT--Management)
6 Jun 07 7:20
Can you describe your implementation in terms of components used?

vpopmail, imap, tcpserver, anti-spam, anti-virus, etc.?

D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/

BIS (TechnicalUser)
6 Jun 07 7:55
Eh - sure. Standard life-with-qmail installation, vpopmail, tcpserver, wait - hang on.

The Link! : http://www.bowe.id.au/michael/isp/webmail-server.htm

Thats the setup really. Using clamav and spamassassin

Nothing fancy I think.

thedaver (IS/IT--Management)
6 Jun 07 8:25
I love Michael's kit...  shame he went over to the dark side (postfix).

OK, I think the migration stuff is probably pretty easy, but I recommend that you compile qmail and vpopmail as new.

Sooo....

spamassassin, clamav, mysql (try to stay same major version), php, perl, and apache should all be usable from the packages available from your distribution.  You would copy across your configuration files (i.e. httpd.conf, php.ini).

qmail/netqmail, vpopmail, qmail-scanner, daemontools, uspci-tools, ezmlm , qmailadmin, and the like should be compiled new (IMHO).  You are changing enough against the system libs that you risk stuff not working to your taste.

Depending upon how you cooked up your IMAP (courier), I believe it's in your best interest to compile that new as well.

THEN, you should be able to copy /var/qmail/alias, /var/qmail/control/, /var/qmail/supervise, and other /var/qmail goodies along with /home/vpopmail onto your new system.  It's possible that some binary locations change in your 'run' files in supervise, so check those before you launch.

You would also copy over the requisite squirrelmail and vpopmail SQL databases using mysqldump to export them.  Do not copy the mysql data/ism files and move them.

Finally, you'll have some stuff in your crontab for maintenance and whatever firewall (and hosts.deny?!) stuff you want in place.  Oh, and DNS changes.

In short, the prevailing wisdom is to build the system new and apply your old config stuff.

D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/

BIS (TechnicalUser)
6 Jun 07 8:32
That's what I feared (yes I am lazy) - many thanks for your reply - I will post a new thread should I run into anything weird.

thedaver (IS/IT--Management)
6 Jun 07 9:17
Oh, and when you apply your ~vpopmail/domains/* and other REALLY user/group sensitive files, be sure to check your work since you might be changing user/group numbers between systems.

D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close