I have never done this before. I think what I have suggested would decrease the 'downtime' of you mail server. I am assuming you followed lwq. If you didn't the qmail script that I am referring to is at http://www.lifewithqmail.com/lwq.html#qmail-script. Try this: 1. configure new machine as mail2 2. add user accounts to mail2 3. pause qmail (qmail pause) on mail1 4. put mail2 in the smtproutes on mail1 (echo :mail2 > /var/qmail/control/smtproutes) 5. backup users' Maildir 6. transfer backup to mail2 7. unpause qmail (qmail cont) on mail1 8. wait for all the mail on mail1 to go to mail2 9. stop qmail on mail1 (qmail stop) 10. rename mail2 to mail1 11. restart mail services on new mail1 ----- Original Message ----- From: "M. Yu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 13, 2001 8:48 AM Subject: upgrade question > > > Hello all, > > I am using Bruce Guetner's Qmail SRPMs with Courier-IMAP. I am planning to > transfer mail services to another machine. Can I just copy the users' > Maildir (with its contents) to the new machine? What I plan to do is this: > > 1. configure new machine as mail2 > 2. add user accounts to mail2 > 3. stop mail1 from receiving mails from users by unsetting RELAYCLIENT > 4. wait till mail1 sends all mails currently in queue > 5. stop qmail-smtpd on mail1 > 6. backup users' Maildir > 7. transfer backup to mail2 > 8. disconnect mail1 > 9. rename mail2 to mail1 > 10. restart mail services on new mail1 > > Is this the correct way to transfer mails? > > TIA, > > M. Yu >
