Really?? Is the new server setup exactly the same as the old one? Hostname and Domain name specifically? When I tried this, my servers hostnames were different. So, the names of the existing mail messages didn't correspond, and weren't viewable by the IMP. As I understand it, incoming messages get tagged with an ID.HOSTNAME. My new server couldn't read the messages ending with the old HOSTNAME.
Oops sorry i should have added how i transfered my mail (and users) across
its long and i hope its not to hard to understand
step 1, download and install lazy admintools
http://www.ibiblio.org/contribs/contribs/mblotwijk/Contribs/lazy-admin-tools/step 2 run the lat-dump and copy the outputted files accross to your new server that has been freshly installed.
step3 on the new server install the lazy admin tools
then run lat-restore
this will set up all your users ibays procmail, groups uids etc...everything really!!! just not the passwords!
step4
you will need to either reset the users passwords to new ones (you could at them to your (servername).Users
if you don't know the passwords the other options is reset them all the users passwords in te server-manager to something simple (copy & paste).... so the /home/e-smith/accounts registers that your users have a password. then
you can copy the shadow password file across from your old server to a temp directory...now you need to be real careful ppl... or you will have to reinstall you server... delete the newly created users from the /etc/shadow file
edit your old shadow file in your temp dir to only have your off the other machine (not root admin qmail www etc) now you can "cat tempshadowfile >> /etc/shadow"
that transfers your old passwords over to the end of the new servers shadow file
(note that if you don't reset the passwords in the server manager first...the server will reset all new users passwords at next/every "post-upgrade"!!!!)
step5
use webmail to test a user you know the password of and make sure it is working.
step6
now... for the mail... i edited the backup restore script (/etc/e-smith/web/functions/backup)... i made it only back up /home/e-smith/files/users
setp7
then run the backup to my desktop from the server manager then restored that to the new server... once i did that it said it had an error and didn't complete.ignote it
step8 now run /sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
then it should all work !!!!
step9
if it does work now is a good time to do a backup on the new server
thats a simple description... but give you a basic idea on how to do it ... if you need any help lemme know...may not be the best or safest way of doing it so don't complain...but it worked so i am happy