home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 32 / hot34.iso / ficheros / NINET / ALML303D.ZIP / REPORT.TXT < prev    next >
Text File  |  1996-10-28  |  2KB  |  71 lines

  1.  
  2.                        List Report Generator
  3.                      =========================
  4.  
  5.  
  6. This program will create four different types of repors from the
  7. SMTP mail logs and output them to "stdout" as text, CSV or
  8. HTML. Any number of log files may be analysed and if the
  9. program is run on the mail server without any log file specified,
  10. yesterday's log file will be used automatically. This allows a batch
  11. file to be created to send list managers a report on their list activity
  12. each day.
  13.  
  14.  
  15. Options
  16. =======
  17. The report program has the following options: 
  18.  
  19.      -report {list-summary,list-daily,list-full}
  20.      Describes which part of the report to write to the output.
  21.      The following parts are allowed and may be comma
  22.      seperated to allow more than one part to be written. If no
  23.      option is specified, all report types are created. 
  24.           list-summary Number of posts to each list 
  25.           list-daily Details of posts to each list per day 
  26.           list-full Details of each post to each list 
  27.           list-person Number of post per person 
  28.           list-all All of above. 
  29.  
  30.      -match wild-card-line-name
  31.      Wildcard name of list to analyse. If not specified, uses "*"
  32.      (that is all lists). 
  33.  
  34.      -files file1,file2,file3
  35.      Wildcard list of files to analyse. If not specified, use
  36.      yesterday's log. 
  37.  
  38.      -csv
  39.      Output as CSV file. Note type "list-all" not avaiable in this
  40.      format. 
  41.  
  42.      -html
  43.      Output as HTML. 
  44.  
  45.      -help
  46.      For heop.
  47.  
  48.  
  49. Examples
  50. ========
  51.    1.To create a report for all lists served yesterday and mail it to
  52.      the account test@abc.com. This requires two commands,
  53.      which may be placed in a batch file and run by the "AT"
  54.      command. 
  55.  
  56.      report > d:\temp\report.txt
  57.      mail "-pd:\temp\report.txt,test@abc.com,localhost,List Analysis Results,null"
  58.  
  59.    2.To analyse all log files and create a report "report.txt" for the
  60.      daily report only. 
  61.  
  62.      report -report list-daily -files c:\ntmail\logs\sm*.log > report.txt
  63.  
  64.    3.To analyse all September's log files for the list called
  65.      "test@abc.com" and write a CSV format file. 
  66.  
  67.      report -files c:\ntmail\logs\sm9609*.log -match test@abc.com -csv > report.csv
  68.  
  69.  
  70. 15-October-1996
  71.