MailServer:Dspam @Jun 19, 2010 10:03:54 PM My mail server hardware failed so the it is currently a VirtualBox virtual machine accessing the original IDE hard disk.
The original installation is "Red Hat Linux release 9" installed in early 2003, but many components are much more recent. Never the less, the services this server provides need to be migrated to a new server.
The mail server is the primary server for a dozen or so domains, most of which are forwarded on to other POP boxes elsewhere, with a few local domains and a couple of local users.
The mail server is comprised of the following parts:
This is the plan to move the services to another server:
Move MySQL data and reconfigure Dspam to use the other server.
Stop SMTP services on the old server:
Dump the Dspam data onto the new server:
Create the Dpsam users in MySQL on the new server:
(Note: needed to use the OLD_PASSWORD() function because the old servers MySQL client libraries are too old.)
Import the Dspam data into the new MySQL server:
Configure Dspam on old server to use MySQL on new server:
edit /var/local/dspam/mysql.data and change the first line, the host, to point to the new server.
Start SMTP services on the old server: