Usage: perfect_maildir ~/Maildir < mbox I wrote this script after being unsatisfied with existing mbox to maildir converters. By making it "Simple", code complexity is kept low thus making it easy to program and debug. At the same time, since it only converts one mbox at a time, it is perfect for use in a shell ``for'' loop (for example). As for being "Perfect", to the best of my knowledge this script does the conversion correctly in all cases; it will translate "Status" and "X-Status" fields into maildir info, and it correctly detects where messages begin and end. (This is only version 0.1 so I may have messed something up though. Please send me feedback!) NOTE: The MUA ``mutt'' has a bug/feature where in the message index, it claims that all maildir messages have 0 lines unless they have a "Lines:" header set. perfect_maildir does not attempt to add the "Lines:" header; you may want to reconfigure ``mutt' to display byte size instead of lines instead by adding the following line to your ~/.muttrc file: # set index_format="%4C %Z %{%b %d} %-15.15L (%4c) %s"