Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Hardware

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
0
36
NL
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 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) ?
 
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
 
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
 
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.

 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top