If your old software uses the maildir format, then you can copy over the maildirs to the newly created maildir folders from ispconfig.