Tool allowing the sorting of the downloaded mails files
- entetemail
Syntax: entetemail [-m] [directory]
Displays for each mail of a directory the lines of the header
starting by a key word, preceded by the name of the file
concerned.
By default, if a field of the heading is distributed on several lines,
only the first line (including the name of the field) is displayed.
With the option -m, if a field is on several lines, all the
contents of the field is displayed.
This tool combined with grep (fgrep, egrep), sed, cut, mv, etc...
makes possible to distribute the downloaded mails files in various
directories according to their characteristics:
- shipper
- key word in the subject
- etc ...
A very complete shell file
is provided as an example.
< Previous
Summary
Next >