Migrating users and mailboxes from postfix / Maildir to Postfix with Mysql backend
- by Chrispy
So I've got 60 or so users on a hand rolled postfix installation on openbsd and I'd like to move their mailboxes to our new mail server running iRedMail (postfix, vmail/mysql back end)
Does anyone know of a good way to do this? Preferably a script I can run to keep syncing the users mailboxes as MX records get updated?
I presume one way (though I don't have all their passwords!) would be to have a command line imap client that simulated the users copying their mail themselves but I'm sure there must be a shell / php script to migrate users?
Anyone got any bright ideas? Chris.