in reply to (OT) help - convert sendmail to qmail
You could have a look at Mail::Box which allows easy mail manipulation and conversion between many different formats.
Hope this helps, -gjb-