Monday, February 21, 2011

Two mailserver with different ip ...

... but same /etc directory are no good idea.
Because i want to create a backup mailserver,
i installed lenny with the same packages like the old mailserver with postfix.

After this i copy the /etc directory, and restore it back to the new debian.
Then i modified the /etc/network/interfaces
so that the ip is different.
After this i reboot the server and restore the /home directory from the old mailserver.
After this, although the ip is different strange things in the network happens.
Old mails appears in the mailboxes etc.

I think it is because the hostname of the system is the same.
Will try to setup the server from ground with different name, ip.