Use a converter script you like.
Examples:
this is convert only to exist Maildir, but works fine.
In debian if you want install from package:
# apt-get install mb2md