1 Starting with 1.1.3-2 the pflogsumm package no longer ships the
2 '.pl' compatiblity symlinks. Thus for consistency we've to do some
3 s/pflogsumm.pl/pflogsumm/ all over the place.
4 --- a/pflogsumm-faq.txt
5 +++ b/pflogsumm-faq.txt
8 -FAQ for Pflogsumm.pl - A Log Summarizer/Analyzer for the Postfix MTA
9 +FAQ for pflogsumm - A Log Summarizer/Analyzer for the Postfix MTA
13 @@ -7,13 +7,13 @@ Introduction
14 hearted exercise in improving my facility with Perl--with the hope
15 that something useful would come out of it as well--has turned out to
16 be a somewhat popular utility. And as more Admins find out about
17 - postfix, and more end up trying pflogsumm.pl, many of the questions,
18 + postfix, and more end up trying pflogsumm, many of the questions,
19 suggestions, and enhancement requests are becoming "frequently
20 asked". So odd as it seems (to me, at any rate), it looks like it's
24 -Index of pflogsumm.pl Frequently Asked Questions (in no particular order)
25 +Index of pflogsumm Frequently Asked Questions (in no particular order)
28 2. "Could You Make" or "Here's A Patch To Make" Pflogsumm Do ...
29 @@ -137,11 +137,11 @@ Index of pflogsumm.pl Frequently Asked Q
30 "creeping over-feature-itis" if I can. My position is *not* set in
31 stone on this issue. In the mean-time:
33 - zcat /var/log/maillog.0.gz |pflogsumm.pl <args...>
34 + zcat /var/log/maillog.0.gz |pflogsumm <args...>
38 - gunzip </var/log/maillog.0.gz |pflogsumm.pl <args...>
39 + gunzip </var/log/maillog.0.gz |pflogsumm <args...>
41 should do the trick quite nicely for you.
43 @@ -149,7 +149,7 @@ Index of pflogsumm.pl Frequently Asked Q
44 exactly at midnight, you might try something like:
46 (zcat /var/log/maillog.0.gz; cat /var/log/maillog) \
47 - |pflogsumm.pl -d yesterday
48 + |pflogsumm -d yesterday
50 See Also: 5. Processing Multiple Log Files
51 17. How Do I Get Pflogsumm To Email Reports To Me
52 @@ -175,7 +175,7 @@ Index of pflogsumm.pl Frequently Asked Q
53 A more complex example, where compressed logs are involved:
55 (zcat `ls -rt /var/log/maillog.*.gz`; cat /var/log/maillog) \
59 Obviously, this depends on the file modification times for your logs
60 being reflective of their chronological order. If that can't be
61 @@ -185,12 +185,12 @@ Index of pflogsumm.pl Frequently Asked Q
62 (for each in 3 2 1 0; do
63 zcat "/var/log/maillog.$each.gz"
65 - cat /var/log/maillog) |pflogsumm.pl
66 + cat /var/log/maillog) |pflogsumm
68 or (somewhat more efficiently--by running zcat only once):
70 (zcat `for ea in 3 2 1 0; do echo "/var/log/maillog.$ea.gz";
71 - done`; cat /var/log/maillog) |pflogsumm.pl
72 + done`; cat /var/log/maillog) |pflogsumm
74 [Note: I didn't actually run these. So you would be well-advised
75 to double-check them.]
76 @@ -305,7 +305,7 @@ Index of pflogsumm.pl Frequently Asked Q
77 Message size is reported only by the queue manager. The message
78 may be delivered long-enough after the (last) qmgr log entry that
79 the information is not in the log(s) processed by a particular run
85 @@ -337,7 +337,7 @@ Index of pflogsumm.pl Frequently Asked Q
87 10. Pflogsumm misses/mis-diagnoses/mis-reports, etc. <whatever>
89 - Are you using a real old version of VMailer? As of pflogsumm.pl
90 + Are you using a real old version of VMailer? As of pflogsumm
91 version 19990220-06, versions of VMailer prior to 19981023 are no
92 longer supported. Sorry. Pflogsumm-19990121-01.pl will be made
93 permanently available from now on for those with out-of-date versions
94 @@ -346,7 +346,7 @@ Index of pflogsumm.pl Frequently Asked Q
95 Are you processing your log files in chronological order? See item
96 "5: "Processing Multiple Log Files".
98 - Pflogsumm.pl is being developed by me on my rather small-scale server
99 + pflogsumm is being developed by me on my rather small-scale server
100 at home. There are only two users on the system. And I do no
101 mail-forwarding. So the log samples I have to work with are
102 commensurately limited.
103 @@ -366,13 +366,13 @@ Index of pflogsumm.pl Frequently Asked Q
104 11. Pflogsumm is generating lots of "uninitialized value" warnings
106 Are you using a version of Perl lower than 5.004_04? Perhaps with a
107 - "beta" version of pflogsumm.pl? If so, try turning off the "-w"
108 + "beta" version of pflogsumm? If so, try turning off the "-w"
109 switch. Pflogsumm as of 19990413-02beta appeared to work correctly
110 with Perl 5.003 in spite of the warnings. (Those warnings didn't
111 appear with Perl 5.004.)
113 I don't guarantee that I'll remember to test future versions of
114 - pflogsumm.pl against 5.003, but I'll try to :-).
115 + pflogsumm against 5.003, but I'll try to :-).
117 You really should consider upgrading your Perl to 5.004 or later.
121 @@ -130,13 +130,13 @@
125 -pflogsumm.pl \- Produce Postfix MTA logfile summary
126 +pflogsumm \- Produce Postfix MTA logfile summary
128 Copyright (C) 1998\-2010 by James S. Seymour, Release 1.1.3.
130 .IX Header "SYNOPSIS"
132 -\& pflogsumm.pl \-[eq] [\-d <today|yesterday>] [\-\-detail <cnt>]
133 +\& pflogsumm \-[eq] [\-d <today|yesterday>] [\-\-detail <cnt>]
134 \& [\-\-bounce_detail <cnt>] [\-\-deferral_detail <cnt>]
135 \& [\-h <cnt>] [\-i|\-\-ignore_case] [\-\-iso_date_time] [\-\-mailq]
136 \& [\-m|\-\-uucp_mung] [\-\-no_bounce_detail] [\-\-no_deferral_detail]
137 @@ -147,7 +147,7 @@ Copyright (C) 1998\-2010 by James S. Sey
138 \& [\-u <cnt>] [\-\-verbose_msg_detail] [\-\-verp_mung[=<n>]]
139 \& [\-\-zero_fill] [file1 [filen]]
141 -\& pflogsumm.pl \-[help|version]
142 +\& pflogsumm \-[help|version]
144 \& If no file(s) specified, reads from stdin. Output is to stdout.
146 @@ -270,7 +270,7 @@ Copyright (C) 1998\-2010 by James S. Sey
147 \& The message may be delivered long\-enough after the
148 \& (last) qmgr log entry that the information is not in
149 \& the log(s) processed by a particular run of
150 -\& pflogsumm.pl. This throws off "Recipients by message
151 +\& pflogsumm. This throws off "Recipients by message
152 \& size" and the total for "bytes delivered." These are
153 \& normally reported by pflogsumm as "Messages with no
155 @@ -388,15 +388,15 @@ Copyright (C) 1998\-2010 by James S. Sey
157 \& Produce a report of previous day\*(Aqs activities:
159 -\& pflogsumm.pl \-d yesterday /var/log/maillog
160 +\& pflogsumm \-d yesterday /var/log/maillog
162 \& A report of prior week\*(Aqs activities (after logs rotated):
164 -\& pflogsumm.pl /var/log/maillog.0
165 +\& pflogsumm /var/log/maillog.0
167 \& What\*(Aqs happened so far today:
169 -\& pflogsumm.pl \-d today /var/log/maillog
170 +\& pflogsumm \-d today /var/log/maillog
172 \& Crontab entry to generate a report of the previous day\*(Aqs activity
173 \& at 10 minutes after midnight.
176 @@ -4,13 +4,13 @@ eval 'exec perl -S $0 "$@"'
180 -pflogsumm.pl - Produce Postfix MTA logfile summary
181 +pflogsumm - Produce Postfix MTA logfile summary
183 Copyright (C) 1998-2010 by James S. Seymour, Release 1.1.3.
187 - pflogsumm.pl -[eq] [-d <today|yesterday>] [--detail <cnt>]
188 + pflogsumm -[eq] [-d <today|yesterday>] [--detail <cnt>]
189 [--bounce_detail <cnt>] [--deferral_detail <cnt>]
190 [-h <cnt>] [-i|--ignore_case] [--iso_date_time] [--mailq]
191 [-m|--uucp_mung] [--no_bounce_detail] [--no_deferral_detail]
192 @@ -21,7 +21,7 @@ Copyright (C) 1998-2010 by James S. Seym
193 [-u <cnt>] [--verbose_msg_detail] [--verp_mung[=<n>]]
194 [--zero_fill] [file1 [filen]]
196 - pflogsumm.pl -[help|version]
197 + pflogsumm -[help|version]
199 If no file(s) specified, reads from stdin. Output is to stdout.
201 @@ -142,7 +142,7 @@ Copyright (C) 1998-2010 by James S. Seym
202 The message may be delivered long-enough after the
203 (last) qmgr log entry that the information is not in
204 the log(s) processed by a particular run of
205 - pflogsumm.pl. This throws off "Recipients by message
206 + pflogsumm. This throws off "Recipients by message
207 size" and the total for "bytes delivered." These are
208 normally reported by pflogsumm as "Messages with no
210 @@ -257,15 +257,15 @@ Copyright (C) 1998-2010 by James S. Seym
212 Produce a report of previous day's activities:
214 - pflogsumm.pl -d yesterday /var/log/maillog
215 + pflogsumm -d yesterday /var/log/maillog
217 A report of prior week's activities (after logs rotated):
219 - pflogsumm.pl /var/log/maillog.0
220 + pflogsumm /var/log/maillog.0
222 What's happened so far today:
224 - pflogsumm.pl -d today /var/log/maillog
225 + pflogsumm -d today /var/log/maillog
227 Crontab entry to generate a report of the previous day's activity
228 at 10 minutes after midnight.
229 @@ -488,7 +488,7 @@ for (0 .. 23) {
230 $smtpdPerHr[$_] = [0,0,0];
233 -$progName = "pflogsumm.pl";
234 +$progName = "pflogsumm";
236 "usage: $progName -[eq] [-d <today|yesterday>] [--detail <cnt>]
237 [--bounce_detail <cnt>] [--deferral_detail <cnt>]