Hi. I'm currently converting mailboxes from sendmail to qmail using your script. But there is one problem: According to rfc2060 (imap) the internal date (when mail was received) is determined based on the file's timestamp. And when i converted the mailboxes, Outlook(-Express) shows the wrong date. It shows the file's timestamp, so for the user's it seems as all mail was received at the same time. Other MUAs, such as mutt, squirrel, evolution, mozilla doesn't have this problem. But since 99% of our user's are using Outlook, i had to fix it. I've patched your perfect_maildir.pl with this: Update the timestamp on each newly created maildir-file with the date from the Date: header. And now it works in all mua's :)