Scan mail in MH folder, find them in imap server by message_id,  delete, then archive to another MH directory.