
                       List Report Generator
                     =========================


This program will create four different types of repors from the
SMTP mail logs and output them to "stdout" as text, CSV or
HTML. Any number of log files may be analysed and if the
program is run on the mail server without any log file specified,
yesterday's log file will be used automatically. This allows a batch
file to be created to send list managers a report on their list activity
each day.


Options
=======
The report program has the following options: 

     -report {list-summary,list-daily,list-full}
     Describes which part of the report to write to the output.
     The following parts are allowed and may be comma
     seperated to allow more than one part to be written. If no
     option is specified, all report types are created. 
          list-summary Number of posts to each list 
          list-daily Details of posts to each list per day 
          list-full Details of each post to each list 
          list-person Number of post per person 
          list-all All of above. 

     -match wild-card-line-name
     Wildcard name of list to analyse. If not specified, uses "*"
     (that is all lists). 

     -files file1,file2,file3
     Wildcard list of files to analyse. If not specified, use
     yesterday's log. 

     -csv
     Output as CSV file. Note type "list-all" not avaiable in this
     format. 

     -html
     Output as HTML. 

     -help
     For heop.


Examples
========
   1.To create a report for all lists served yesterday and mail it to
     the account test@abc.com. This requires two commands,
     which may be placed in a batch file and run by the "AT"
     command. 

     report > d:\temp\report.txt
     mail "-pd:\temp\report.txt,test@abc.com,localhost,List Analysis Results,null"

   2.To analyse all log files and create a report "report.txt" for the
     daily report only. 

     report -report list-daily -files c:\ntmail\logs\sm*.log > report.txt

   3.To analyse all September's log files for the list called
     "test@abc.com" and write a CSV format file. 

     report -files c:\ntmail\logs\sm9609*.log -match test@abc.com -csv > report.csv


15-October-1996
