Previous | Contents | Index |
The log_condense
utility scans mail.log
format files and produces a condensed report file with one entry for
each message that has passed through PMDF. This condensed log file may
be used to analyze PMDF message traffic, for example by importing it
into a Microsoft Excel spreadsheet or using a site-written script. Most
sites will want to run log_condense
against
mail.log_yesterday
to generate a condensed log file for
the previous day's mail.
To run the log_condense
utility:
For UNIX:
# /pmdf/bin/log_condense input_log_file condensed_output_file |
For VMS:
$ log_condense :== $PMDF_EXE:LOG_CONDENSE.EXE $ log_condense input_log_file condensed_output_file |
For Windows:
C:\pmdf\bin> log_condense input_log_file condensed_output_file |
The entries generated by the log_condense
utility have the
following fields (wrapped for typographic reasons):
18-Jul-2002 10:16:35.45 18-Jul-2002 10:16:38.02 <01KK8H2E31XG8WW0JF@otherco> (1) (2) (3) john.doe@otherco.com rfc822;jane.doe@example.com jane.doe@naples.example.com (4) (5) (6) naples.example.com 4 4 E,tcp_local,tcp_internal,D 250 (7) (8)(9) (10) (11) |
From:
address.
To:
address.
Any field of the entry that cannot be determined from the input log file will contain a hyphen.
The option LOG_MESSAGEID=1 must be set in
option.dat for log_condense to operate
properly. Any log files generated without this option present cannot be
analyzed by log_condense .
|
Previous | Next | Contents | Index |