Is there any reason why you aren’t using the mbox import script? It works quite well for migrating mailing lists.