ports/mail/pflogsumm/patches/patch-pflogsumm_pl

55 lines
2 KiB
Text

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