In the process of migrating to Sylpheed, I had to convert my mailboxes to MH folders. Should it be useful, here's the code I used for that :
cd $HOME
for folder in `find mail -type f -not -empty | sed s,mail/,,`
do
mkdir -p $HOME/Mail/$folder
cd $HOME/Mail/$folder
cat $HOME/mail/$folder | formail -s perl -pe \
'BEGIN{$n=$ENV{FILENO}+1;open STDOUT,">$n"or die"$n:$!"}END{close STDOUT}'
done