Evening Mazhar,
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?
<snip> I will just put in brief. 1. Copy all the user databses from "passwd & shadow" file. ( Assuming you are using same for authentication. If not then shift the user base database to Server A. 2. Copy Users "$USER_HOME", if in case you are storing mails in users home. 3. Copy "/var/spool/mail/" from B to A. 4. Copy all the latest changes for any mailing list "/etc/alias" or any other configuration changes.
PS: Make sure while doing this, you set up temp. Queue server, where in you accepts mail for your domain ( holding in queue. ). and most important, copy "/var/spool/mqueue" folder also, so that you don't miss your existing queue.
Do all this after taking your sendmail server down. Regards, Animesh.
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail