patch-pflogsumm_pl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --- pflogsumm.pl.orig Sun Feb 5 19:25:25 2012
  2. +++ pflogsumm.pl Wed May 30 10:52:23 2012
  3. @@ -4,13 +4,13 @@ eval 'exec perl -S $0 "$@"'
  4. =head1 NAME
  5. -pflogsumm.pl - Produce Postfix MTA logfile summary
  6. +pflogsumm - Produce Postfix MTA logfile summary
  7. Copyright (C) 1998-2010 by James S. Seymour, Release 1.1.5
  8. =head1 SYNOPSIS
  9. - pflogsumm.pl -[eq] [-d <today|yesterday>] [--detail <cnt>]
  10. + pflogsumm -[eq] [-d <today|yesterday>] [--detail <cnt>]
  11. [--bounce-detail <cnt>] [--deferral-detail <cnt>]
  12. [-h <cnt>] [-i|--ignore-case] [--iso-date-time] [--mailq]
  13. [-m|--uucp-mung] [--no-no-msg-size] [--problems-first]
  14. @@ -19,7 +19,7 @@ Copyright (C) 1998-2010 by James S. Seymour, Release 1
  15. [--syslog-name=string] [-u <cnt>] [--verbose-msg-detail]
  16. [--verp-mung[=<n>]] [--zero-fill] [file1 [filen]]
  17. - pflogsumm.pl -[help|version]
  18. + pflogsumm -[help|version]
  19. If no file(s) specified, reads from stdin. Output is to stdout.
  20. @@ -140,7 +140,7 @@ Copyright (C) 1998-2010 by James S. Seymour, Release 1
  21. The message may be delivered long-enough after the
  22. (last) qmgr log entry that the information is not in
  23. the log(s) processed by a particular run of
  24. - pflogsumm.pl. This throws off "Recipients by message
  25. + pflogsumm. This throws off "Recipients by message
  26. size" and the total for "bytes delivered." These are
  27. normally reported by pflogsumm as "Messages with no
  28. size data."
  29. @@ -255,15 +255,15 @@ Copyright (C) 1998-2010 by James S. Seymour, Release 1
  30. Produce a report of previous day's activities:
  31. - pflogsumm.pl -d yesterday /var/log/maillog
  32. + pflogsumm -d yesterday /var/log/maillog
  33. A report of prior week's activities (after logs rotated):
  34. - pflogsumm.pl /var/log/maillog.0
  35. + pflogsumm /var/log/maillog.0
  36. What's happened so far today:
  37. - pflogsumm.pl -d today /var/log/maillog
  38. + pflogsumm -d today /var/log/maillog
  39. Crontab entry to generate a report of the previous day's activity
  40. at 10 minutes after midnight.