4 The variable $friendly now is set to the friendly part of the sender's
5 email address. For example, if the sender's address is:
7 strike@convex.com (Martin Streicher)
9 $friendly would be set to "Martin Streicher"
13 Keys for the %headers array are all lowercase. That is to say that if a mail
21 the keys for %header will be "to", "from", "cc", "subject". $header{"subject"}
22 would be set to "News"
26 The "Received" headers in a mail message are now saved in an array called
27 @received. The first element in the array is the first received header;
28 that last element in the array would show the message being delivered to
29 your machine. See the Suggestions file for how to use this feature.
33 If someone from your local machine sends you email, $organization
34 is set to "local". If the site name (e.g.,"convex" for "pixel.convex.com")
35 cannot be determined, $organization is set to "unknown". Also, $organization
36 is much more reliable (I have not found a case yet where $organization
37 was not set correctly.)
41 $organization is always in lower-case.
45 audit.pl was broken up to make the code more reusable. The utilities
46 refileto and refilefrom use some of the routines in audit.pl and mh.pl.
50 Fixed a bug that sometimes added NULL to an empty message body.
54 mh.pl has new routines to recursively create a directory path, parse your
55 MH profile and parse MH-like command line options.
60 There are two new utilities: refileto and rfolder and adjunts refilefrom
63 refileto is used to refile messages into log folders according to who
64 you sent the messages to. refilefrom refiles messages you have received
65 according to who sent you the message.
67 By default all messages are logged into the folder +log. You can change this
72 to your .mh_profile. Also by default, the current folder is processed.
73 You can change that also. Here are the command line options for
77 syntax: refileto [msgs] [switches]
93 A sample usage might be:
95 refileto -src +outbox -verbose
97 -verbose shows you what is being files and where. Use -debug to check what will
98 happen without actually refiling the mail messages.
100 Here is a sample output of the command
101 "refileto -src +log/outgoing -verbose all":
103 refile -file /gmaster/home/strike/Mail/log/outgoing/5 +log/local/holt
104 refile -file /gmaster/home/strike/Mail/log/outgoing/7 +log/convex/sowton
105 refile -file /gmaster/home/strike/Mail/log/outgoing/9 +log/convex/lutz
110 The rfolder utility is like folders: it can recursively descend
111 a list of folders. However, you can use rfolder to run another MH command
112 in every folder it finds. For example, let say you want to sort
113 all of the subfolders in your +log folder.
117 rfolder +log -all -recurse -verbose -exec sortm -textfield subject
119 -debug will show you what might happen without actually executing the
122 By the way, -clean can be used to remove empty folders (empty folders
123 must be completely empty, without any .# or # files from rmm's, etc.)
126 You can even use refileto/refilefrom and rfolder(s) to build a new
127 log directory from all your existing mail. Ala:
129 rfolder -all -recurse -verbose -exec refilefrom -log +log -src
132 rfolders implis the -all -recurse flags