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