]> gitweb.michael.orlitzky.com - postfix-logwatch.git/blob - Changes
Changes: add the one change in v1.40.05.
[postfix-logwatch.git] / Changes
1 2022-06-15 (version: 1.40.05)
2 - Match "breaking line > 998 bytes with..." lines.
3
4 2021-07-31 (version: 1.40.04)
5 - New maintainer: Michael Orlitzky.
6 - Support for modern versions of Postfix and Perl.
7
8 2014-09-03 (version: 1.40.03)
9 - Fix: Corrected typo in RE for postscreen PREGREET & HANGUP fix was lost in merge.
10 Thanks: Michael Orlitzky
11
12 2014-08-28 (version: 1.40.02)
13 - Fix: Commented out some code which was accidentally left enabled, preventing the
14 script from running.
15
16 2014-08-01 (version: 1.40.01)
17 - Fix: Correct TLS matching for Postfix 2.11 and later. Thanks: John Wilcock
18 - Fix: Ignore cfg_get_str debug lines. Thanks: Bas Mevissen
19 - Fix: Ignore sacl_check:... lines. Thanks: Jonathan Herbach
20
21 2012-01-11 (version: 1.40.00)
22 - Change: License is now the MIT/X-Consortium License:
23 http://www.opensource.org/licenses/mit-license.php
24 This allows re-inclusion into the logwatch project.
25 - Fix: Ignore additional debug lines. Thanks: Peter Smrcak
26 - Fix: Corrected typo in RE for postscreen PREGREET & HANGUP.
27
28 2011-09-26 (version: 1.39.07)
29 - New: Support 2.9's enable_long_queue_ids via command line option
30 --[no]long_queue_ids and config file var $postfix_Enable_Long_Queue_Ids.
31 Default is disabled. There will be issues with existing logs that contain
32 both formats.
33 - Fix: Support postscreen's WHITELIST VETO.
34 - Thanks: Noel Jones
35
36 2011-09-23 (version: 1.39.06)
37 - New: Support postscreen from postfix 2.8. Updated for minor dnsblog
38 log changes. Note: tlsproxy messages are ignored for now.
39 - Change: Section dnsblog primary sort key is now listing site.
40 - Fix: Some "improper command pipelining" log lines were unmatched
41 (section: smtpprotocolviolation).
42 - Fix: Ignore proxy-reject w/no SMTP reply code. Occurs after a queue file
43 size lmit exceeded warning by smtpd.
44 - New: Postfix 2.8.1 changes FCRDNS warning messages (section: hostnameverification).
45 See: http://article.gmane.org/gmane.mail.postfix.user/218112
46 - Internal: Removed remaining $re_IP in rblerror section, from v1.39.05.
47 - Thanks: Noel Jones, Tonio, Jase Thew, Alex, Michael Orlitzky
48
49 2010-11-12 (version: 1.39.05)
50 - Fix: Check input value to commify() against undef; required for perl 5.12.
51 Thanks: Michael Orlitzky
52 - Fix: Eliminate use of $re_IP, as it is too complicated, expensive, and did
53 not correctly match all valid IPv6 addresses. Note: one remains in
54 RBL lookup error section, as parsing out IP is nontrivial w/IPv6.
55 - Internal: Update URL to Sourceforge.
56
57 2010-03-23 (version: 1.39.04)
58 - Fix: Support Postfix 2.8's reject_rhsbl_reverse_client in RejectRBL.
59 Thanks: Noel Jones
60
61 2010-03-06 (version: 1.39.03)
62 - Fix: Support for reject_rhsbl_helo in RejectRBL section.
63 Thanks: Steve Bytnar
64
65 2010-03-03 (version: 1.39.02)
66 - Change: Merged section SaslAuthRelay into SaslAuth. The purported SASL
67 sender is now included after an existing SASL_username.
68
69 2010-03-02 (version: 1.39.01)
70 - New: Allow enabling/disabling the summary section in config file, using
71 var $postfix_Show_Summary and command line option --[no]summary.
72 Thanks: Benedikt Bohm
73
74 2010-01-11 (version: 1.39.00)
75 - New: Support 2.7 experimental branch logging:
76 + smtpd's proxy-reject: placed in standard reject sections.
77 + smtpd's proxy-accept: ignored.
78 + postfix/postscreen: new section 'postscreen'.
79 Note: memory intensive, so limiter is set to 1, showing only counts
80 of various postscreen result.
81 + postfix/dnsblog: new section 'dnsblog'.
82 Note: memory intensive, so limiter is set to 1, showing only a list
83 of DNSBL'd IPs. Disable this section by setting limiter to 0.
84 + postfix/verify: currently ignored
85 Thanks: Stefan Forster, Noel Jones
86 - New: Support 2.6 access(5) action BCC. New section 'bcced'.
87 - New: New option --[no]unknown to show/suppress output of hostname of
88 'unknown' in formatted ip/hostname pairs. Default: on.
89 - New: Updated postfix-logwatch.conf files to include instructions on how to
90 increase log scanning performance when not using policy services such as
91 policy-spf, etc. See "Performance Note" in the .conf files.
92 - Change/Fix: Warning sections 'ratelimit and 'concurrenclylimit merged into
93 a new, generic 'anvil' section, which includes all of anvil's various limit
94 exceeded messages. If you see errors after updating about these unknown
95 limiters, be sure to replace these two deprecated limiters with the new
96 one to your config file(s).
97 - Change: Use DSN from delivery verification probes as first level
98 key (section: 'deliverable').
99 - Change: Replace databasegeneration section header 'Database file
100 needs update' with 'Database is older than source file', as per request
101 on the Postfix mailing list.
102 - Fix: Handle more, and restructure, SASL authentication failed messages.
103 Thanks: Stefan
104 - Fix: Ignore some smtpd cache lines; handle postmaster delay notifications.
105 Thanks: Gabriele Beltrame
106 - Fix: Handle more postfwd lines.
107 - Fix: Prevent useless level 3 ':' output in section 'saslauthfail'.
108 Thanks: Armin Tüting
109 - Fix: Corrected some typos in man page.
110 - Fix: Added missing Error section (how was this missed!).
111 - Fix: Handle unmatched milter-{reject,hold,discard} lines that do not
112 include smtpd envelope data.
113 - Fix: reduce memory footprint for Delays reports (~30Mb per 1Mb log file).
114 - Fix: performance increases.
115
116 2009-07-14 (version: 1.38.01)
117 - Fix: RE typo caused policydweight lines to be unmatched.
118 - Fix: Reduce to-be-ignored RE list searching by moving most common
119 REs to head of the list.
120
121 2009-07-10 (version: 1.38.00pre6)
122 - Fix: Handle Softfail and Temperror in pypolicyd-spf (PolicySPF).
123 postfix/policy-spf. Thanks: Chris Burton.
124
125 2009-07-10 (version: 1.38.00pre5)
126 - Fix: Comment out extra OnlyService line in postfix-logwatch.conf* files,
127 leaving as a sample. The duplicate causes logwatch to filter out postgrey,
128 postfwd, and policyd-spf lines. Also include '-' in the RE to capture
129 postfix/policy-spf. Thanks: Malte Koestner, Chris Burton.
130
131 2009-07-07 (version: 1.38.00pre4)
132 - New: Error and diagnostic output from non-postfix programs will be moved
133 into the WarningsOther section.
134 - Fix: Added Tarpit whitelisted to postgrey output.
135 - Fix: Handle additional output for pypolicyd-spf, postgrey, and postfix.
136 - Fix: Add policyd-spf to postfix_Syslog_Name and OnlyService.
137 Thanks: Chris Burton
138 - Fix: logic error which inadvertently incremented Notification Sent counter
139 on ignored postfix/bounce lines.
140 - Fix: Add -T to interpreter line (removed inadvertently to use perl debugger).
141 - Change: Remove 'postgrey' from default syslog_name. This only affects users
142 without a configuration file, where it is enabled by default.
143
144 2009-07-06 (version: 1.38.00pre3)
145 - New: Handle pypolicyd-spf. Thanks: Chris Burton
146 - New: ConnectionInbound section shows IP/hostname. Disabled by default,
147 for performance reasons. Requested by: Jernej Porenta
148 - Change: MxErrors changed to DNSErrors, generalizing DNS lookup errors.
149 A beneficial side affect is the removal of the numerous DNS lookup
150 informational "warnings" from the top of the Summary section; they
151 can also, of course, be disabled in the Detailed section.
152 - Fix: Handle END-OF-MESSAGE stage in reject code.
153
154 2009-07-02 (version: 1.38.00pre2)
155 - Fix: Remove debug print
156 - New: Section SMTP protocol violation (smtpprotocolviolation)
157 - Change: Removed section "toomanyerrors", merging it into new section
158 smtpprotocolviolation.
159 - Fix: Handle "improper command pipelining ..." messages in new section
160 smtpprotocolviolation.
161 - Fix: Ignore more debug lines and miscellaneous canonicalization.
162
163 2009-06-29 (version: 1.38.00pre1)
164 - New: Support milter-hold (aka: "quarantine") and milter-discard lines.
165 Stats are located in "hold" and "discarded" sections, respectively.
166 Requested by: Gary Casterline;
167 - Fix: Perl v5.10 introduces tighter taint control in sprintf format
168 strings. Perform strict data checking on $Opts{'ipaddr_width'} to
169 untaint it, as it is used directly as an sprintf() field width specifier.
170 Thanks: Dudi Goldenberg
171 - Fix: Some Policy-SPF lines were unmatched, due to log format change
172 in Mail::SPF v2.006, which changed "identify=mfrom" to "identity=mailfrom".
173 Thanks: Chris Burton
174 - Fix: Resolved several bugs in the Policy-SPF module: some missing return
175 return statements, which for certain unmatched log lines would both add to
176 the Unmatched list and increment a PolicySPF hit counter; a few older
177 log lines would show blank IP addresses.
178 - Fix: Postgrey whitelisted lines that did not include a host IP address
179 were reported as unmatched.
180 - Fix: Relax email address capture in to=, orig_to=, and from= fields in
181 log lines.
182 - Fix: Better diagnostic when limiter level is not specified on
183 the command line using the --limit option. Eg:
184 "--limit rejectbody" v. "--limit rejectbody=10"
185 - Fix: Remove bogus --content_filter option from man page (feature not yet
186 implemented). Thanks: David DeFranco
187 - Fix: Better handle "Delivery temporarily suspended: conversation with xxx timed
188 out..." deferred messages.
189 - Fix: Handle multi-word XYZ in "blocked using XYZ" in RejectRBL.
190 Thanks: Sergey Pylinsky
191 - Fix: Ignore lines from postlog service.
192 - Change: Detail level now included in Detail title
193 - Internal: Support variable hash key lengths, but using the special key
194 sequence of two ASCII bell's ("\a\a"). This removes the existing
195 requirement that dummy keys must be used at the end of the %Counts
196 accumulator hash.
197 - Internal: Test data generation
198
199 2008-10-21 (version: 1.37.08)
200 - Fix: Saslauth messages were not being detected if the only field in a
201 smtpd "client=..." line was "sasl_sender=".
202
203 2008-10-20 (version: 1.37.07)
204 - New: Support "Temporary lookup failure" temporary rejects. New reject
205 limiter 'XXXrejectlookupfailure', where XXX is any of the set of
206 reject codes in effect.
207 - New: Support smtp_body_checks and smtp_*header_checks.
208 Requested by: Noel Jones
209 - Fix: Previous fix to support reload log line that includes postfix
210 version number broke previous postfix reload log lines.
211 Thanks: Armin Tüting
212 - Fix: Setting recipient_delimiter caused RE failure, due to missing
213 \Q \E quoting. Thanks: Armin Tüting
214 - Fix: BCC action support from 1.37.06 had a "if" vs. "elsif" typo.
215 Thanks: Noel Jones
216 - Fix: Allow postgrey filter to handle absent recipient= field.
217 Thanks: Alexander Kolesnik
218 - Fix: Limiters were not case insensitive on the command line.
219 - Fix: Use of bare reject limiters did not set each reply code variant of
220 the given limiter after using --nodetail, resulting in no output for the
221 given section.
222 - Fix: Change Logwatch's OnlyService variable in the postfix-logwatch.conf
223 file to also capture postfwd and postgrey. Thanks: Alex Schuilenburg
224 - Fix: Ignore more debug lines.
225
226 2008-08-22 (version: 1.37.06)
227 - New: Handle message_reject_characters cleanup rejects. New reject
228 limiter 'XXXrejectcontent', where XXX is any of the set of reject
229 reply codes in effect.
230 - New: Support BCC action from 2.6 experimental branch. New limiter
231 'bcced'.
232 - Fix: Ignore "mapping DSN status" lines.
233 - Fix: Support reload log line including postfix version number.
234 Postfix snapshot 2.6-2008081
235 - Thanks: Noel Jones
236 - Fix: Ignore more debug lines.
237
238 2008-08-19 (version: 1.37.05)
239 - New: Initial implementation of Postfwd reporting.
240 Requested by: Sahil Tandon
241 - Change: Undeliverable (address verification) section now
242 grouped by DSN, canonicalized host reply, domainpart, localpart,
243 and formatted host/hostip. This dramatically cleans up this
244 section's output for systems that perform many address verifications.
245 - Fix: Postgrey lines were being ignored due to change made to
246 implement Ignore_Service.
247 - Fix: handle "status=undeliverable-but-not-cached" address verification
248 response, which is coerced into a simple "status=undeliverable".
249 If there is any value in distinguishing the two status types, let me
250 known and I'll create a new limiter. Thanks: Gary Casterline
251 - Fix: missed conversion of keyword "next" to "return" in postfix_postsuper
252 routine after inline code was converted into the subroutine.
253
254 2008-07-22 (version: 1.37.04)
255 - Fix: recognize "approximately" in TooManyErrors section messages
256 starting introduced in Postfix 2.6 20080621. Thanks: Noel Jones
257 - Fix: Reset to level 0 the inadvertently changed EnvelopeSenders
258 and EnvelopeSenderDomains (in postfix-logwatch.conf).
259
260 2008-07-18 (version: 1.37.03)
261 - Change: TimeoutInbound will include byte count if available;
262 default level changed to 1 to reduce noise.
263 - Change: some additional canonicalization is performed on
264 various "host XXX said: yyy" messages in sections like Deferrals.
265 Much of the "said" verbiage from some large mail houses is redundant
266 or excessive, and causes additional memory consumption. If this
267 canonicalization presents problems, I may include an additional level
268 of detail to present the raw message. Feedback welcome.
269 - Fix: Supplemental sections could not be re-enabled after using
270 --nodetail.
271 - Fix: Handle some additional RejectRBL variants, esp. the
272 "day old bread" list (dob.sibl.support-intelligence.net).
273 Thanks: Michael Monnerie
274 - Fix: Present the remote MTAs reply code/DSN, if available, at the
275 beginning of canonicalized "host XXX said: yyy" messages.
276 Thanks: Jorey Bump
277 - Fix: Provide remote MTAs SMTP reply code/DSN if available
278 in various Delay, Deferral, etc. reports. Some additional
279 canonicalization is performed on various flavors of deferral
280 replies.
281 - Fix: recognize "approximately" in lost connection byte count
282 messages starting introduced in Postfix 2.6 20080621.
283 Thanks: Noel Jones
284 - Internal: Ignored lines are now placed into a list, instead of
285 hard coded into the code. In the future, this will allow users
286 to configure ignore patterns without making code modifications.
287 In doing this, I discovered and reported a bug in perl (#56202),
288 but worked around the problem.
289 - Internal: move postsuper, panic, and fatal message processing into
290 their own subroutines.
291
292 2008-05-30 (version: 1.37.02)
293 - Change: Some changes in Delays report. Now includes total delay
294 time as reported in delivery agent log entry delay=x. Removed
295 leading numbers in row titles, and cleaned up the title names.
296 Also, reduced fields to 2 decimal places.
297 - New: By IP (permanent) Reject report controlled with ByIpRejects
298 limiter. Disabled by default.
299 - Fix: Two minor fixes to PolicydWeight module: it was not the required
300 importing inc_unmatched, and ignore diagnostic "master: ..." lines.
301 - Fix: Eliminate some extraneous newline output.
302 - Fix: Ignore more debug log lines.
303
304 2008-05-09 (version: 1.37.01)
305 - Change: level limiters are no longer unique command line options,
306 but are now parameters to the single option "--level" or "-l".
307 This reduces the number of command line options in the help list,
308 and simplifies the code added to support reject_reply_patterns.
309 For example, the config file level limiter $postfix_Sent = 2,
310 the command line option would be --limit sent=2 or -l sent=2,
311 rather than the previous --sent=2. This also means the --no
312 variants for level limiters are gone (eg. --nosent; instead use
313 -l sent=0). There is no change within the configuration files.
314 Limiters can still be abbreviated so long as they are unambiguous.
315 - Change: Section connectionlostoverload is removed, by being merged
316 into connectionlostinbound.
317 - Change: PrematureEOI is now AttrError, broadened to include errors
318 reading attributes from services.
319 - New: Support RFC 4954 Enhanced status codes (postfix 2.5+).
320 - New: Report "status=deferred (bounce failed)" messages under
321 Summary section "Bounce failed".
322 - New: Support postfix 2.6+ check_reverse_client_hostname_access
323 Includes new reject config variable: RejectUnverifiedClient.
324 - New: option --line_style specifies how to handle lines lengths
325 longer than max_report_width. Options are "wrap", "full", or
326 "truncate" (default). The older --detail >= 11 is equivalent
327 to line_style=full; line_style=truncate or line_style=wrap has
328 higher precedence and will dictate how long lines are handled.
329 Alternative options are --truncate, --wrap, or --full.
330 - New: The beginnings of a Top N config file is provided in
331 postfix-logwatch.conf-topn. Suggestions and improvements welcome.
332 - New: single letter options for some long options; run with
333 --help to see list. More may be added in the future.
334 - New: Option --ignore_services (config var $postfix_Ignore_Services)
335 provides a mechanism to ignore postfix/SERVICE log lines, where
336 SERVICE is a regular expression pattern.
337 - Fix: Support Anonymous TLS in TlsServerConnect (postfix 2.5+).
338 - Fix: Ignore output from "postfix status" command (postfix 2.5+)
339 - Fix: Ignore more debug log lines.
340 - Fix: When postsuper held more than one message in a given call,
341 the Hold count shown in the Summary section indicated how many
342 messages were held, but the Detail section showed how many
343 postsuper calls were made. Thanks: Stefan Jakobs
344 - Fix: Postgrey sender and recipient fields improperly reported
345 - Fix: Allow ":unknown" as an acceptable port in smtpd's "client=..."
346 log lines. Occurs in pre-queue content_filter setup.
347 Thanks: Robert Brooks
348 - Fix: At detail > 10, log lines were truncated to max_report_width.
349 - Fix: Documentation cleanup. Thanks: Chris Pepper
350 - Fix: Relax capture RE for resent-message-id which may contain
351 < or > chars. Thanks: Stefan Jakobs
352 - Fix: Reason for deferral/bounce would sometimes be incorrectly
353 shown as unknown recipient.
354 - Fix: Better handle the trigger subject (SMTP_NAME_*) in discard,
355 filter, hold, redirect, and warn actions (eg. Client host, Sender
356 address, Recipient Address, Client certificate, etc.).
357 - Change: reduce length of some extended status codes for readability.
358 - Change: remove hard-coded "postgrey" from the syslog name pattern
359 matching code, and instead add it to the configuration variable
360 postfix_Syslog_Name.
361 - Internal: converted all Section key names to lowercase to avoid
362 silly case errors due to hash key case differences in Sections,
363 Opts, and Collecting hashes.
364 - Internal: debug output is now controlled by keywords.
365
366 2008-05-09 (version: 1.36.13)
367 Final version skipped
368
369 2008-01-14 (version: 1.36.13pre7)
370 - New: Support ETRN rejects (option: RejectEtrn).
371 - Fix: Include optional text in L1 output for header/body checks Hold
372 messages.
373 - Fix: Accept "unknown" as an IP in Connection rate limit messages.
374 Thanks: Stefan Jakobs
375 - Fix: Improve MxError captures
376 - Fix: Ignore "sql auxprop plugin ..." messages
377 - Fix: Ignore more debug_peer_level=2 messages
378 - Fix: Correct failure to ignore "connect to subsystem..." debug lines
379 - Fix: Add missing RejectVerify to config file
380
381 2007-12-15 (version: 1.36.13pre6)
382 - Fix: in BounceLocal and EnvelopeSenderDomains, set null domain
383 and formatted host to '*unknown'.
384 - Fix: Move postfix_warning before postfix_cleanup, as some cleanup
385 warnings were caught as unmatched.
386 - Fix: An Accepted message is now triggered by smtpd "client=..."
387 and pickup "uid=..." log entries, instead of qmgr's "from=xxx,
388 size=nnn, nrcpt=nnn" log lines. A message may have been accepted
389 during a previous time period, but delivery delays result in
390 multiple qmgr delivery attempts, resulting in over counting
391 Accepted messages. Thanks: Stefan Jakobs
392 - New: Bytes delivered is now broken down by Bytes sent via SMTP,
393 LMTP, and forwarded, to be orthogonal with message counts.
394 - Fix: Resent messages no longer reduce the number of messages
395 accepted - this was a naive attempt at not counting, for example,
396 messages released and re-queued from a content filter's quarantine.
397
398 2007-11-14 (version: 1.36.13pre5)
399 - New: Threshold limiting and Top N lists for every level in each
400 Detail section. Every level in each section can now be limited
401 with minimum count thresholds and top N lists. See the updated
402 README file, the comments in the postfix-logwatch.conf file, and
403 the new postfix-logwatch man page. Requested by: Pavel Urban
404 - New: Rejects can now be categorized by reject reply code. A new
405 option/variable "reject_reply_patterns" is a list of reject reply
406 code regular expressions, which are used for categorizing rejects.
407 This feature allows, for example, distinguishing 421 transmission
408 channel closes from 45x errors. (eg. 450 mailbox unavailable, 451
409 local processing errors, 452 insufficient storage). The default
410 list is: "5.. 4.. Warn" which creates three groups of rejects:
411 permanent rejects, temporary failures, and reject warnings (as in
412 warn_if_reject). Requested by: Noel Jones
413 - New: postfix-logwatch man page created (net yet complete)
414 - New: Support for all access(5) actions. See the "Level Limiter
415 Options" section in the postfix-logwatch(1) man page, and "Common
416 access control actions" in postfix-logwatch.conf.
417 - New: Added envelope senders and envelope sender domains reports.
418 These are disabled by default. Enable with level limiter options
419 --envelopesenders 1 and --envelopesenderdomains 1 (or 2 to
420 also see senders listed under domains). See also the
421 postfix-logwatch.conf file. Suggested by: Brendan
422 - Change: Uncomment all variables in the config file. This should
423 help ensure the variables in the config file stay in sync with
424 those used in the source.
425 - Change: Merged sections SenderDelayNotification, DSNDelivered, and
426 DSNUndelivered into NotificationSent, with sub-sections indicating
427 the type of notification. This gives the total number of sent
428 notifications in the Summary section, and the breakdown by type
429 of notification in the Detailed section.
430 - Change: Removed "msgs" prefix from several options: msgsdeferred,
431 msgsdelivered, msgsforwarded, msgsresent, msgssent, and msgssentlmtp
432 are now deferred, delivered, forwarded, resent, sent and sentlmtp.
433 The old options are still usable.
434 - Change: force --help output to 80 chars.
435 - Change: Taint mode is now on by default in standalone mode. It is
436 disabled upon installation in logwatch mode, as logwatch fails with
437 taint mode enabled.
438 - Change: Set the primary key in tlsserverconnect/tlsclientconnect
439 options to type/cipher to reduce excessive level 2 output.
440 - Change: Reported values that cannot be determined or are unavailable
441 are prefixed with an asterisk (Eg. *unknown, *unspecified).
442 - Change: Warn section title 'Warn action logged' changed simply to
443 "Warned", to be consistent with other access/header_ and body_checks.
444 The option is --warned, but --warn is still acceptable.
445 - Fix: Significantly reduce memory footprint when detail < 5.
446 - Fix: Usage and --help now correctly show only detail section
447 level limiter options that are available. Previously, summary-
448 only counts were also display as level limiter options.
449 - Fix: "too many errors after DATA" and "timeout after DATA" may
450 include a byte count, as in "(348 bytes)". Thanks: John Beaver
451 - Fix: Ignore postgrey 'delayed ...' lines
452 - Fix: Allow logwatch --debug option to pass into postfix-logwatch
453 - Fix: configuration file reading code was not properly warning on
454 non-existent files
455 - Fix: "filter" actions were incremented on "redirect" actions
456 - Fix: Give more room to percentiles in delays percentiles table.
457 A 5 day delay is 432000.000 seconds, and the previous table width
458 was not sufficient.
459 - Fix: --show_sect_vars command line option inadvertently required an
460 argument; the name has been shortened to --sect_vars/--nosect_vars
461 and correctly no longer requires an argument. The longer names
462 --[no]show_sect_vars work as well. Thanks: Noel Jones
463 - Fix: Handle some unmatched connect to failures in section
464 ConnectToFailure. Cleanup and consolidate several similar messages;
465 add additional detail at level 3.
466 - Fix: Increment postsuper Hold messages by the number of messages
467 placed on hold.
468 - Fix: Add "non-ESMTP response ..." messages to SmtpConversationError.
469 First level is now the general SMTP error description.
470 - Internal: Converted source to be package-based to allow code sharing
471 with amavis-logwatch. The single-file executable is auto-generated
472 from the packages.
473 - Internal: internal gen_test_log function to create sample log data
474 for testing. Reads '#TD' comments from within postfix-logwatch.
475
476 2007-10-16 (version: 1.36.13pre4)
477 - Fix: Handle messages "SSL_connect error to example.com: 0" and
478 "Cannot start TLS: handshake failure" by coercing into warnings
479 Thanks: Rob Sterenborg
480
481 2007-10-15 (version: 1.36.13pre3)
482 - Fix: Handle "postmaster" DSNs
483 - Fix: Handle "discarding EHLO keywords:" (ignored)
484 - Internal: create bounce subroutine to handle bounce messages
485
486 2007-10-05 (version: 1.36.13pre2)
487 - New: Initial support for postgrey (http://postgrey.schweikert.ch/)
488 Requested by: Sebastian Wolfgarten
489
490 2007-10-05 (version: 1.36.13pre1)
491 - New: Support for policy-spf software postfix-policyd-spf-perl
492 Requested by: Nicodemo P. and Rob Sterenborg
493
494 2007-10-05 (version: 1.36.12)
495 - New: support postfix 2.5 log changes (20071004, 20071003)
496 - Incompatible Change: Config variable/command line option name change:
497 * WarningHeader changed to Warn
498 * MsgsRedirected changed to Redirected
499 * ConnectionLost split into ConnectionLost{Inbound,Outbound}
500 - Incompatible Change: Distinguish inbound (smtpd) vs. outbound (smtp),
501 which replaces ConnectionsLost with ConnectionsLostInbound and
502 ConnectionsLostOutbound. ConnectionsLostInbound includes number of
503 bytes received if the connection was lost during DATA. Encouraged by
504 2.5 20071003 change in logging.
505 - New: Support for all header_checks(5)/body_checks(5) actions. See
506 also postfix-logwatch.conf for "Common access control actions"
507 - New: Option show_sect_vars shows names of section configuration
508 variables/command line options in titles of detailed report sections.
509 This allows easy correlation of corresponding configuration file
510 variables/command line option for each section. [ Default: 0 ]
511 - Fix: catch postsuper's pluralized form of Delete message"s".
512 - New: handle "cannot load Certificate Authority data" as Misc. warning
513 - Fix: Makefile: no -D option to install in FreeBSD. Use -d instead
514 - Change: ConnectionLostInbound now defaults to level 1 only
515 - Internal: Numerous code cleanups, re-factoring and restructuring
516 - Internal: Test data migrating to include the correct postfix service, as
517 internal code moves towards using the service name as an initial log
518 line match qualifier
519
520 2007-09-13 (version: 1.36.11)
521 - Incompatible Change: All TempRejectXXX and RejectWarnXXX options/config vars
522 have been renamed for easier identification in the code, and consistency.
523 Now, all Reject variants look like RejectXXXyyy, where XXX is the
524 given reject name (Helo, RBL, etc), and yyy is the optional reject type
525 of "Warn" (warn_if_reject) or "Temp" (4xx temporary rejects).
526 For example, the previously named RejectRelay, RejectWarnRelay and
527 TempRejectRelay are now named RejectRelay, RejectRelayWarn and RejectRelayTemp.
528 See the usage information or the .conf file to see the list.
529 - Fix: A %Counts accumulator must use the same number of keys consistently.
530 This error caused some totals to be wildly incorrect, and the fatal perl error:
531 "Can't use string ("XXX") as a HASH ref while "strict refs" in use ..."
532 Fortunately, this error only occurred with a specific set of data, which
533 seemed not too common.
534 - Fix: remove Temp and Warn variants of RejectHeader and RejectBody - they
535 don't exist.
536 - Fix: Add Temp variant of RejectMilter
537 - New: Add ProcessLimit section for 2.5 stress messages
538 - New: accommodate postfix patch which also logs HELO name in smtpd's
539 "QID: client=..." log entries.
540 - Thanks: Noel Jones
541
542 2007-09-09 (version: 1.36.10)
543 - New: handle "reject: DATA from ... <DATA>: Data command rejected: ..."
544 - New: ignore "fingerprint=20:..." lines
545 - Thanks Farkas Levente
546
547 2007-09-01 (version: 1.36.9)
548 - Fix: remove rooted path in md5 file
549 - Fix: Makefile install-logwatch rule was missing a parenthesis
550 - Fix: Makefile updates from Till Mass
551
552 2007-08-31 (version: 1.36.8)
553 - Change: Include GPLv2 license
554 - Change: Include version number in tarball file name
555 - Internal: Move CVS log comments to Changes file
556
557 2007-08-31 (version: 1.36.7)
558 - Fix: capture older postfix RCPT from RBL reject entries. Thanks
559 Hugo van der Kooij
560
561 2007-08-15 (version: 1.36.6)
562 - Changed: for sorting purposes, lowercase localpart of rejected email addresses
563 - Change: Output help and version info on STDOUT for easier pipelines to a pager
564 - New: option --nodetail zeros out all detail levels, to more easily obtain
565 only specified detailed reports (eg: --nodetail --rejecthelo 1) will
566 only show a list of rejected HELOs in the details section.
567 - New: option --nosummary disables the summary section
568 - New: detailed section command line arguments can now be specified with the
569 prefix "no", to set the level to 0 (eg. --nomsgssent is equivalent to
570 --msgssent 0).
571 - Internal: split printReports into printSummaryReport and printDetailReport
572 - Internal: change variable Formats to the more obvious named Sections
573
574 2007-08-03 (version: 1.36.5)
575 - Changed: rejected addresses collected by domain, then localpart
576 - New: delay percentiles report. Config vars: show_delays and
577 delays_percentiles; command line --[no]delays
578 - Fix: Yes/True and No/False config values weren't being read properly
579 in standalone
580
581 2007-08-01 (version: 1.36.4)
582 - New: option --config_file allows specifying a configuration file via
583 command line. Options in configuration file act as though they were
584 set on the command line in order, with earlier settings being over-
585 ridden by most recent settings. Multiple config_file options may
586 be specified.
587 - Change: Summary title includes syslog_name in standalone mode
588 - Change: Remove some extraneous newlines
589
590 2007-07-24 (version: 1.36.3)
591 - Refine anvil connection rate exceeded messages
592
593 2007-07-13 (version: 1.36.2)
594 - Support FreeBSD (<facility.priority> precedes hostname in syslog)
595 - Thanks Clemens Fischer
596
597 2007-07-10
598 - Ignore "nss_ldap: reconnected to LDAP server ..."
599 - Handle "discard: header/body: messages
600 - Thanks Jay Chandler
601
602 2007-07-03
603 - Corrected some minor typos
604
605 2007-06-08
606 - Changed titles shown for sender notifications of (non-)delivery
607 and delay
608 - Corrected some incorrect config file variable names. Thanks: Nicolas
609
610 2007-06-02
611 - Do not strip <> when address is '<>' in Illegal address syntax
612
613 2007-06-01
614 - Changed warning output for smtpd messages:
615 "lost connection after CONNECT from unknown[unknown]".
616 Previous warning erroneously attributed this to pre-queue content
617 filter overloads, but the problem indicates a more general
618 smtpd overload.
619
620 2007-05-31
621 - Fix bug which caused config file to be required in standalone mode
622
623 2007-05-30
624 - Support delay_reject=no (debian: 426726)
625 - Ignore additional unmatched TLS debug messages
626 - Initial support for redirect messages
627 - Some corrected typos
628 - Thanks Jusin Pryzby
629
630 2007-05-25
631 - Experimental: syntax to limit Top N level 1 output lines. Variables
632 that control depth levels in detailed reports can be specified as
633 m.n, where m is the maximum level to output, and n specifies the number
634 of level 1 items output. Eg: $postfix_MsgsSent=2.10, will output
635 the top 10 level 1 items, with each item providing 2 levels of detail.
636 - Protect interpolated recipient addresses in cleanhostreply with \Q \E
637 e Add zero-width assertions and use strict IP RE in bycount sort subroutine
638 to match IP addresses more reliably
639
640 2007-05-09
641 - Ignore a few more policydweigh child or cache entries
642 - Escape metacharacters from being interpreted in recipient_delimiter
643 - Never split mailer-daemon, double-bounce, or when recipient_delimiter
644 is a "-" (dash) never split owner- or -request localparts
645
646 2007-05-08
647 - Support for running in standalone mode (independent of logwatch)
648 - Renamed script to "postfix-logwatch" to avoid confusion when running
649 in standalone mode. See the README.
650 - Add relay=virtual to "local" class for local vs. remote bounces
651
652 2007-05-07
653 - Handle and report postfix/policydweight lines (postfix_PolicydWeight)
654 - Handle and report Host offered STARTTLS lines
655 - Generalize "maildrop: Unable to create a dot-lock at <path>" messages
656 - Corrected typo that prevented fatal errors from being output
657
658 2007-04-26
659 - Consolidate similar MX errors
660 - set IP address to 127.0.0.1 when from=local, and reporting both host/hostip
661 - More cleanup (re-factor common code, replace most global variables with lexicals,
662 lowercase non-global variable names, shorten variable names, etc.)
663 - Capture postsuper hold messages
664
665 2007-04-25
666 - Support postfix 2.5 TLS message changes (smtpd_tls_loglevel > 0)
667 - Move 4xx temporary rejects into their own section (experimental feature)
668
669 2007-04-18
670 - Allow for hold messages that do not contain a recipient (Thanks John Wilcock)
671
672 2007-03-26
673 - Lowercase recipient addresses in several Reject sections
674
675 2007-03-22
676 - Accept spf.pobox.com URLs in Reject recipient address
677
678 2007-03-21
679 - Handle spf lines from older version of postfix-spf, and spf.pobox.com URLs
680
681 2007-03-20
682 - Capture and report postfix-spf lines
683 - New config variable postfix_PolicySPF
684
685 2007-03-13
686 - Capture and report reject_unknown_reverse_client_hostname.
687 Thanks Michael M.
688
689 2007-03-09
690 - Capture and report as config warning: "looking for plugins" NSF error
691
692 2007-03-03
693 - fix reject header|body RE to allow "local" as host/ip
694 - really ignore lines that don't match SyslogName;
695 - add inc_unmatched subroutine for easier debug of unmatched lines
696
697 2007-02-27
698 - Capture and summarize postfix-script output (starts, stops, refresh, etc.)
699 - Remove redundant chomps
700
701 2007-02-26
702 - Fix problem in sort routine where IP addresses were being captured
703 anywhere in an output line for comparison via pack 'C4' - only
704 attempt IP comparison if an IP address is the start of an output line
705 Thanks: Ian
706 - Provide support for syslog_name in Postfix 2.4 via postfix.conf
707 variable postfix_Syslog_Name
708 - Classify PIX workarounds based on type (there are several)
709 - Change summary output criteria to check for any non-zero Totals
710
711 2007-02-25
712 - Do not interpolate log lines into printf; they may contain % chars
713
714 2007-02-17
715 - Ensure no output occurs when nothing is captured
716
717 2007-02-15
718 - Place recipients and senders in their own keys, instead of combined
719
720 2007-02-14
721 - Fix countdown bug in Deliveries, as ncrpt does not account for always_bcc
722
723 2007-02-14
724 - Make reject and warn_if_reject distinct sections
725 - Track Qids to properly report messages and bytes sent / accepted
726 - Also track messages deferred (each of which may have many deferrals)
727 - Consider reject VRFY a reject and accumulate in reject totals
728 - Move header/body reject code in with the rest of the reject code
729 - Move 'MAIL from' reject code in with the rest of the reject code
730 - Remove unused variable
731 - Print row heading separator lines only when appropriate
732 - Move printing of report headings into printReports
733 - Change Sent header to Sent via SMTP (orthogonal to Sent via LMTP)
734
735 2007-02-09
736 - Better processing of remote server "host...said" replies
737 - Made maximum report width configurable in postfix.conf
738 - All lines in report now obey max report width
739
740 2007-02-07
741 - Changed all From -> To lines to To <- From. From address is often bogus
742 and To is more interesting to see.
743
744 2007-02-06
745 - Added new configuration variable "postfix_Recipient_Delimiter", which
746 can be set to match the postfix variable "recipient_delimiter".
747 When set, allows Delivered and Sent reports to be grouped by
748 email addresses minus their address extension.
749 - Liberalized the RE for capturing VFRY rejects
750 - Reverted change of primary SASL authenticated messages; primary
751 key is once again User, followed by Method. Unknown is reported
752 when these keys are not available.
753 - Created a SASL authenticated relayed messages which hits with
754 sasl_sender is present in smtpd messages
755 - Split orig_to email addresses into a subkey. Allows reports
756 to be grouped by primary "to" address, instead of various aliases.
757 - Move Host/HostIP into their own keys for Bounce Remote section
758 - For Pix Workaround section, format HostIP / Host the same as others
759 - Add 'o' option where missing in REs
760 - Fix configuration variable importing
761
762 2007-02-03
763 - Added VFRY reject section
764 - Changed primary key for SASL authentication section to IP/hostname,
765 as any of sasl_{method,sender,user} may be absent
766 - Added RFC 3463 DSN code messages to bounce/deferred sections
767 - More parsing of various "host...said" remote server messages
768 - Add Sent via LMTP section, removing lmtp-delivered mail out of Delivered.
769 Allows users with lmtp-based content filters to avoid double counting
770 (but only for message counts; byte counts are still about 50% too large).
771 Config variable postfix_MsgsSentLmtp controls display
772
773 2007-01-28
774 - Added pre-queue content-filter overload section
775 - Reworked Bounce (local/remote) and Deferred sections
776 - Fixed several reversed captures of Host and HostIP
777 - Format Host and HostIP in Numeric hostname section
778 - Thanks: Mike Horwath
779
780 2007-01-28
781 - Made Reason the primary key in Deliverable/Undeliverable 'sendmail -bv' tests
782 - Modified re_DSN RE to capture DSNs missing 3 number response code
783 - Enhanced SASL authenticated messages to capture missing log lines
784 - Added milter-reject section
785 - Updated 'Reject server configuration error' RE for older postfix versions
786 - Fix copy/paste error which caused use of incorrect variable in bad size limit
787 - Add Concurrency limit reached section
788 - Add "maildrop" to the list of relay's considered local in Bounce section
789
790 2007-01-23
791 - Aggregate recipient/sender address verification lines (Thanks Harald Geiger)
792 - Uppercase message in reject recipient section
793
794 2007-01-22
795 - Update REs to allow null sender in sender addresses
796
797 2007-01-19
798 - Capture and summarize "triggers FILTER" messages (Thanks Eray Aslan)
799 - Fix overly permissive Server configuration error RE (Thanks Harald Geiger)
800 - Add "Server configuration error" rejects to Reject totals
801 - Add "Insufficient system storage" rejects to Reject totals
802 - Make RejectSize report consistent with others
803
804 2007-01-17
805 - Update IP RE to support IPV6 (Thanks Harald Geiger)
806 - Aggregate reject recipient address caused by SPF (Thanks Harald Geiger)
807
808 2007-01-16
809 - Made Reject HELO/EHLO report consistent with others: demoted Helo=xxx
810 string (Thanks: Jorey Bump)
811 - Fixed incorrect TotalRejects summation (typo)
812 - "Accepted" / "Rejected" summation is no longer based on "Connection";
813 now Total = Accepted + Rejected
814 * Client may or may not close connection properly after reject
815 * Multiple rejects for single connection can occur
816 - ConnectToFailure header incorrectly indicated connection was "inbound"
817 - Included Makefile for ease of installation during this testing phase (Thanks: Jorey Bump)
818
819 2006-12-16
820 - Add pcre map warnings
821 - Reordered headings to produce more obvious correlation with percentage breakdowns
822 - Second key sort is now the illegal address in illegal address in SMTP command
823 - More optimization of log entry capturing
824 - Added Sent category capturing outbound SMTP connections
825 requires modified /usr/share/logwatch/default.conf/services/postfix.conf or
826 /etc/logwatch/conf/services/postfix.con
827 - Added ability to control max print depth on a per section basis
828 - Renamed Received to Accepted (to indicate accepted for delivery, and better opposite of Reject)
829 NOTE: Accepted shows less than that of pflogsumm's Received, which incorrectly
830 increments rejected messages
831 - Reduce Accepted by Deferred and Resent, which cause double counting
832 - Removed erroneous a-z in RE for capturing QIDs
833 - Added Panic section for postfix panic messages
834 - Fixed bug which failed to increment watchdog timers
835 - Started work on better debug capability
836
837 2006-12-13
838 - Removed extra blank line for Detail <= 5
839 - Filter many more debug lines
840 - Catch and group additional warning and fatal messages
841
842 2006-12-12
843 - Made reject header/body output consistent with each other
844 - Sort reject header/body first by recipient address, for tighter groupings - reject reason is typically random
845 - Trimmed excess whitespace in reject header/body reasons
846 - Added extra line between level 1 headings
847 - Group SASL authenticated messages by sasl_username
848 - Filter TLS and SASL debug messages (smtpd_tls_loglevel = 2)
849
850 Rewrite by Mike Cappella (MrC)
851 Revision 1.29 2007/01/27 20:21:46 mrc
852 - Provide more useful information and summaries
853 - Provide increasing detail as requested via --detail
854 - Provide ability to configure per section maximum detail
855 - Optimize and combine the numerous REs
856 - Capture and summarize many more log lines
857 - Pin important errors to top of report
858 - Sort by hits, IP, and lexically
859 - Handle IPv6 addresses
860 - Generalize log line capturing and reporting
861 - Eliminate excessive copy/paste reporting code
862 - Requires updated postfix.conf file
863 - Thanks: Eray Aslan, Jorey Bump, Harald Geiger, Bill Hudacek,
864 Frederic Jacquet, Geert Janssens, Leon Kolchinsky, Rob Myroon
865
866 Revision 1.28 2006/12/15 06:24:49 bjorn
867 Filtering "sender non-delivery notification", by Ivana Varekova.
868
869 Revision 1.27 2006/12/15 05:00:41 bjorn
870 Filter all held message logs, by Hugo van der Kooij.
871
872 Revision 1.26 2006/10/20 16:51:50 bjorn
873 Additional matching of sasl messages, by Willi Mann.
874
875 Revision 1.25 2006/08/13 21:25:55 bjorn
876 Updates to work with the Postfix 2.3.x series (due to log format changes),
877 by Mike Cappella.
878
879 Revision 1.24 2006/03/22 17:43:46 bjorn
880 Changes by Harald Geiger:
881 - ignore additional statistics: messages (Postfix 2.2)
882 - replaced several 5xx Codes by [0-9]+
883 (main reason is to make them match on 4xx if in soft_bounce=yes mode)
884 - a more generic "Client host rejected" reporting
885 - changed "Messages rejected:" to "Messages rejected from sender:"
886
887 Revision 1.23 2005/12/19 15:47:47 bjorn
888 Updates from Mike Cappella:
889 - Catches some of the Unknown Users messages from newer versions of postfix
890 - Consolidates a couple of REs
891 - Adds a cumulative total to each of the Unknown users and Header content rejection headers
892 - Adds a Body content rejection section
893
894 Revision 1.22 2005/11/22 18:30:47 bjorn
895 Detecting 'virtual alias table', by Kevin Old.
896
897 Revision 1.21 2005/08/23 23:54:38 mike
898 Fixed typo probably from Roland Hermans -mgt
899
900 Revision 1.20 2005/07/25 22:26:28 bjorn
901 Added "Sender address" to "554 Service unavailable" regexp, by Who Knows
902
903 Revision 1.19 2005/04/22 13:48:28 bjorn
904 This patch catches (un)deliverable messages and many more, which were
905 missing until now on mu new postfix-2.1.*, from Paweł Gołaszewski
906
907 Revision 1.18 2005/04/17 23:12:28 bjorn
908 Patches from Peter Bieringer and Willi Mann: ignoring more lines and
909 some blank spaces
910
911 Revision 1.17 2005/02/24 17:08:05 kirk
912 Applying consolidated patches from Mike Tremaine
913
914 Revision 1.7 2005/02/16 00:43:28 mgt
915 Added #vi tag to everything, updated ignore.conf with comments,
916 added emerge and netopia to the tree from Laurent -mgt
917
918 Revision 1.6 2005/02/13 23:50:42 mgt
919 Tons of patches from Pawel and PLD Linux folks...Thanks! -mgt
920
921 Revision 1.5 2004/10/06 21:42:53 mgt
922 patches from Pawel quien-sabe -mgt
923
924 Revision 1.4 2004/07/29 19:33:29 mgt
925 Chmod and removed perl call -mgt
926
927 Revision 1.3 2004/07/10 01:54:35 mgt
928 sync with kirk -mgt
929
930 Revision 1.13 2004/06/23 15:01:17 kirk
931 - Added more patches from blues@ds.pg.gda.pl
932
933 Revision 1.12 2004/06/21 14:59:05 kirk
934 Added tons of patches from Pawe? Go?aszewski" <blues@ds.pg.gda.pl>
935 Thanks, as always!
936
937 Revision 1.11 2004/06/21 13:42:02 kirk
938 From: Matthew Wise <matt@oatsystems.com>
939 This is more of a suggestion than a true patch submission. On a busy
940 postfix server the messages sent by section is really long and not
941 helpful. This patch finds and lists the top 10 senders by number of
942 messages.
943
944 Revision 1.10 2004/06/21 13:41:04 kirk
945 Patch from rod@nayfield.com
946
947 Revision 1.9.1 2004/02/22 16:44:01 rod
948 Added patch from rod@nayfield.com
949
950 Revision 1.9 2004/02/03 03:25:02 kirk
951 Added patch from quien-sabe@metaorg.com
952
953 Revision 1.8 2004/02/03 02:45:26 kirk
954 Tons of patches, and new 'oidentd' and 'shaperd' filters from
955 Pawe? Go?aszewski" <blues@ds.pg.gda.pl>
956
957 Revision 1.7 2003/12/15 18:35:03 kirk
958 Tons of patches from blues@ds.pg.gda.pl
959
960 Revision 1.6 2003/12/15 18:09:23 kirk
961 Added standard vi formatting commands at the bottom of all files.
962 Applied many patches from blues@ds.pg.gda.pl
963
964 Revision 1.5 2003/12/15 17:45:09 kirk
965 Added clamAV update log filter from lars@spinn.dk
966
967 Revision 1.4 2003/11/26 14:36:30 kirk
968 Applied patch from blues@ds.pg.gda.pl
969
970 Revision 1.3 2003/11/18 14:04:05 kirk
971 More patches from blues@ds.pg.gda.pl
972
973 Revision 1.2 2003/11/18 04:02:21 kirk
974 Patch from blues@ds.pg.gda.pl
975
976 Revision 1.1 2003/11/03 04:49:18 kirk
977 Added postfix filter from Sven Conrad <sconrad@receptec.net>
978
979 Revision 1.1 2002/03/29 15:32:14 kirk
980 Added some filters found in RH's release
981
982 Revision ??? 2000/07/12 Simon Liddington <sjl@zepler.org>
983 converted from sendmail to postfix Sven Conrad <scon@gmx.net>
984 added unknown users, relay denials
985
986 Revision 1.1 2003/03/21 21:10 sven
987 Initial revision
988 filters all postfix/<process> messages