Migrating users and mailboxes from postfix / Maildir to Postfix with Mysql backend

Posted by Chrispy on Server Fault See other posts from Server Fault or by Chrispy
Published on 2012-03-20T13:09:27Z Indexed on 2012/03/21 11:31 UTC
Read the original article Hit count: 421

Filed under:
|
|

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.

© Server Fault or respective owner

Related posts about postfix

Related posts about shell