On Wednesday 12 Jan 2005 9:50 am, Bilal Ahmed Mazhar wrote:
Hi
I replaced my crashed mail server(i.e sendmail on Redhat 9.0) machine (lets say machine A) with new machnine(say it machine B) and configured all mail accounts from scratch. Now machine B is working fine. After a month of time I fixed the hardware problem and also upgraded mail server of machine A and now I want to plug it again in my existing network and use it as the default mail server. Now I want to transfer all mail accounts and mails from B to A without discontinueing the mail service. What is the best way to do it?
are the mail accounts the same as the user accounts? If so webmin has a handy batch adduser utility. You can create the file for the batch entry by suitably editing copies of the /etc/passwd,shadow and group files on machine B and then recreating the accounts on A. After that copy /var/spool/mail from B to A.