]> gitweb.michael.orlitzky.com - amavis-logwatch.git/blob - Changes
Makefile: don't include myself in the release tarball.
[amavis-logwatch.git] / Changes
1 20YY-MM-DD (version: 1.51.04)
2 - New maintainer: Michael Orlitzky.
3 - Support for modern versions of Amavis and Perl.
4
5 2014-05-01 (version: 1.51.03)
6 - Fix: Update RE for TIMING lines to accomodate new output from amavis 2.8.1 with
7 Unix::Getrusage installed.
8 - Fix: Ignore 2.8.1's RUSAGE report
9 - Fix: increment spamdiscarded category on do_notify_and_quarantine: cutoff, blacklisted.
10 - Fix: Some log lines that were no longer being ignored (minor changes)
11 - Fix: Ignore some DSPAM lines: Thanks: Christian Rößner
12 - Change: Several minor changes in the SADiags section: "SA info: dns: [...]" lines
13 are ignored; canonicalize some PIDs and IDs, replacing them with with generic
14 "<PID>" and "<ID>" strings to allow grouping.
15 - Fix: Handle new amavisd startup messages
16 - Fix: Handle format changes for Amavisd-new 2.9.0
17
18 2012-02-27 (version: 1.51.02)
19 - Fix: Ignore case of SPAM-TAG lines. Amavisd-new 2.7.0 changed the
20 SPAM-TAG line to Spam-tag, and changed its log level to 3. This
21 log entry is used to trigger spam tagged counts. Users on 2.7.0
22 will have to increase log_level to 3, or change the amavisd-new
23 source code as per the patch located in this message:
24 http://lists.amavis.org/pipermail/amavis-users/2012-January/001163.html
25 - Fix: Ignore more debug/misc log lines
26 - Thanks: Stefan Jakobs
27
28 2012-01-14 (version: 1.51.01)
29 - Fix: Removed old references to $re_DSN, $re_QID, $re_DDD (obsoleted
30 and removed from shared packages) which prevented amavis-logwatch
31 from runnning.
32
33 2012-01-11 (version: 1.51.00)
34 - Change: License is now the MIT/X-Consortium License:
35 http://www.opensource.org/licenses/mit-license.php
36 This allows re-inclusion into the logwatch project.
37
38 2011-07-08 (version: 1.50.04)
39 - Fix: Support 2.7's log_short_templ changes ([:client_addr_port],
40 {actions_performed}).
41 - Fix: Support 2.7's TIMING lines, which now start with "size: "
42 - Fix: Support 2.7's new BAD-HEADER-[:ccat|minor]; The stuff after
43 BAD-HEADER is ignored.
44 - Fix: Ignore log parser compatibility "header_edits_for_quar..." lines.
45 - Fix: Additional minor 2.7 log line changes
46 - Fix: Ignore more debug lines.
47 - Thanks: Michael Orlitzky
48 - Fix: change method of untaint'ing data when evaluating per-recipient
49 boost in Hits; required for newer perl versions.
50
51 2010-11-12 (version: 1.50.03)
52 - Fix: Eliminate use of $re_IP, as it is too complicated, expensive, and did
53 not correctly match all valid IPv6 addresses. Thanks: Michael Orlitzky
54 - Fix: Ignore extra entries after tests= in SPAM lines, for the case where the
55 tests are not surrounded by brackets (Maia, and older amavisd versions).
56 - Fix: Ignore more debug lines.
57 Thanks: Stefan Jakobs
58 - Internal: Update URL to Sourceforge.
59
60 2010-03-09 (version: 1.50.02)
61 - Fix: tarball was missing html documentation. Thanks: Michael Orlitzky
62
63 2010-03-02 (version: 1.50.01)
64 - New: Allow enabling/djsabling the summary section in config file, using
65 var $postfix_Show_Summary and command line option --[no]summary.
66 Thanks: Benedikt Bohm
67 - Change: Ignore all 'wbl' log lines, until they cannot be meaningfully
68 summarized.
69 - Fix: Score frequencies buckets were not sorted correctly, causing
70 erroneous bucket tallies. Thanks: Victor Hugo dos Santos
71 - Fix: Ignored lines are placed into a list at runtime instead of
72 at compile time. Works around perl bug #56202 I discovered
73 while working on postfix-logwatch.
74 - Fix: Support continuation lines that include the alert markers
75 (!) and (!!).
76 - Fix: Skip RUSAGE reporting lines
77 - Fix: Ignore more debug lines.
78 - Thanks: Chris Burton, Gabriele Beltrame, Jernej Porenta,
79 Danny (aka "Technik"), Ricardo Stella, Armin Tueting
80
81 2009-07-19 (version: 1.50.00)
82 - New: MalwareToSpam report shows whether or not amavis turned
83 a virus scanner infected result into a spam score, and the score
84 assigned.
85 - New: Handle some new logging messages from amavisd 2.6.3.
86 - New: Counter for truncated messages passed to SA (amavis >= 2.6.3).
87 - New: Group white/blacklisted sender addrs by domain for limiting
88 - New: Section SADiags for amavis reported SpamAssassin diagnostics
89 (log lines started with "SA warn", "SA info", etc.).
90 - Change: Group official vs. unofficial ClamAV detections in
91 MalwareByScanner (and MalwareToSpam) reports.
92 - Change: Level of detail now shown in Detail section's title.
93 - Fix: Patch to ignore "storage and lookups will..." messages
94 when more than one SQL server is in use.
95 - Fix: Don't collect SpamScores (for the spam score frequencies and
96 spam score percentiles reports) when not necessary.
97 - Fix: Better diagnostic when limiter level is not specified on
98 the command line using the --limit option (eg:
99 "--limit malwarebyscanner" v. "--limit malwarebyscanner=10").
100 - Fix: Coerce previously unmatched "unknown bad table name" log
101 line into Warning section.
102 - Fix: Divide by zero error in print_summary_report(), found in
103 test case.
104 - Fix: Remove duplicates from test=[xxx,...], which occurs in
105 amavis < 2.6.2 when using @virus_name_to_spam_score_maps, which
106 would be seen in SpamAssassin Rule Hits reports as double-counted
107 AV:xxx hits.
108 - Fix: Routine to strip out trace information was too greedy.
109 - Fix: handle p0f lines w/short client info (eg. MYNETWORKS).
110 - Fix: Ignore "Error reading mail header section", which is diag
111 output for a condition created by a perl getline() bug.
112 - Fix: Handle other syslog formats.
113 - Fix: Update some missing options and information in man page.
114 - Fix: Ignore more debug lines.
115 - Internal: Ignored lines are now placed into a list, instead of
116 hard coded into the code. In the future, this will allow users
117 to configure ignore patterns without making code modifications.
118 - Thanks: Jernej Porenta, Jerzy Sakol, Chris Burton, Armin T�ting
119
120 2008-11-13 (version: 1.49.09)
121 - Fix: Work around minor amavis logging error which produces
122 empty _WARN|_DIE lines. Thanks: Rob Sterenborg and Chris Burton
123 - Fix: remove debugging print which is likely never reached.
124
125 2008-06-25 (version: 1.49.08)
126 - Fix: White and blacklisted was broken. Added soft-hard
127 distinction to reports.
128 - Fix: Ignore more debug log lines.
129 - Thanks: Brendan
130 - Fix: debug keyword unmatched had incorrect value assigned,
131 disabling the ability to output the unaltered UNMATCHED debug
132 lines using --debug unmatched.
133 - Fix: The counter "Spam tagged" was being incremented for
134 SPAM lines (it should only increment on SPAM-TAG lines).
135 Thanks: Armin T�ting
136
137 2008-06-24 (version: 1.49.07)
138 - New: Added p0f (passive fingerprinting) hits by contents type,
139 OS, and IP address in Detail section. Controlled by level
140 limiter variable 'p0f', which is set to level 2 by default
141 (this shows OS genre, but suppresses further by-IP address
142 breakdown); increase to level 3 for per-IP breakdown.
143 This section may be moved into a suppliemental report later.
144 - Fix: Ignore more debug log lines. Thanks: Brendan
145
146 2008-06-18 (version: 1.49.06)
147 - New: Include hit counts after each key name in Timings report.
148 - New: SpamAssassin timings percentiles report. Options:
149 sa_timings, sa_timings_percentiles. Requires amavis version
150 2.6+ and SpamAssassin 3.3+.
151 - Change: Scan Times percentiles report units have been changed to
152 milliseconds rather than seconds.
153 - Change: Removed the "Hypothetical" row from timings reports; it
154 was not very meaningful.
155
156 2008-06-11 (version: 1.49.05)
157 - New: Reduce some noise in smtpresponse section
158 - Thanks: Robert Brooks
159
160 2008-06-10 (version: 1.49.04)
161 - New: Show count of Spam tagged messages in Summary.
162 - Fix: The fix in 1.49.02 of treating SPAMMY as ham was incorrect.
163 SPAMMY is spam, not ham.
164 - Fix: Removed extraneous spaces from end of log lines, left by
165 some syslog implementations.
166 - Fix: Ignore SQL reconnecting "NOTICE: reconnecting in response to..."
167 - Fix: Ignore "FuzzyOcr: Skipping ..., image too small" lines for now.
168 - Fix: Better handle when name field in MIME part is only whitespace
169 - Thanks: Robert Brooks
170
171 2008-06-08 (version: 1.49.03)
172 - New: Count of penpals saved from kill reported in Summary.
173 - Fix: Include $amavis_Line_Style in config file.
174 - Fix: Clear start info earlier if "logging initialized" line is
175 present. Otherwise, consider "starting. " as the first line.
176 - Fix: Some startinfo output was occuring when --nodetail was set.
177 - Fix: Supplemental sections could not be re-enabled after using
178 --nodetail.
179 - Fix: SMTP: connection lines may not include size, which causes
180 unmatched lines. Thanks: Stefan F�rster
181 - Fix: In the above case, the number of bytes scanned is not available.
182 Byte scanned is now calculated from the size data available in the
183 Passed/Blocked line. Note: this number is slightly smaller than
184 that reported in the LMTP/SMTP connection line, so the total bytes
185 scanned number will be marginally reduced.
186
187 2008-05-29 (version: 1.49.02)
188 - Change: level limiters are no longer unique command line options,
189 but are now parameters to the single option "--level" or "-l".
190 This reduces the number of command line options in the help list,
191 and simplifies the code added to support reject_reply_patterns.
192 For example, the config file level limiter $amavis_SpamBlocked = 2,
193 the command line option would be --limit spamblocked=2 or
194 -l SpamBlocked=2, rather than the previous --spamblocked=2.
195 This also means the --no variants for level limiters are gone
196 (eg. --nosent; instead use -l SpamBlocked=0). There is no change
197 within the configuration files. Limiters can still be abbreviated
198 so long as they are unambiguous.
199 - Change: dccproc is included in syslog_name in standalone mode.
200 - Change: nodsnsent* variants merged into single dsnsuppressed section,
201 which is now included in Detail section.
202 - Change: Moved total message scan counts/bytes to the top of the
203 Summary report.
204 - Change: Spam score percentiles report broken out by contents
205 category: unchecked, spam, and ham. SA is not called when contents
206 category is VIRUS or BANNED; UNCHECKED may have a spam score, and
207 anything less than SPAM is considered ham. Note: the count of
208 ham in the score reports may be less than the ham count shown in
209 the Summary section, as SA may have been bypassed (see the
210 SpamAssassin bypassed count in the summary report).
211 Encouraged by: Hannes Erven
212 - Change: Passed/Blocked sections are now ordered by priority, as
213 defined by amavis: VIRUS, BANNED, UNCHECKED, SPAM, SPAMMY, BADH,
214 OVERSIZED, MTA, and CLEAN.
215 - New/Change: Summary section now includes both Passed/Blocked and
216 Ham/Spam breakdowns. Previously, only a Ham/Spam breakdown was
217 present, and this was insufficient to accurately show how messages
218 were classified. Passed/Blocked is the first grouping shown in
219 Summary section, and the Spam/Ham/etc. grouping is the second.
220 This sub-section can be suppressed with via --noby_ccat_summary or
221 amavis_show_by_ccat_summary = No.
222 - New: Option --line_style instructs how to handle lines lengths
223 longer than max_report_width. Options are "wrap", "full", or
224 "truncate" (default). The older --detail >= 11 is equivalent
225 to line_style=full; line_style=truncate or line_style=wrap has
226 higher precedence and will dictate how long lines are handled.
227 Option abbreviations are --truncate, --wrap, or --full.
228 - New: Single letter options for some long options; run with
229 --help to see list. More may be added in the future.
230 - New: Beginning of support for amavis 2.6 log entries.
231 Bounce killer sections: bouncekilled, bouncerescued, and
232 bounceunverifiable.
233 - New: VirusScanSkipped section.
234 - New: Include hit counts in spam score percentiles and spam score
235 frequency reports. Score is adjacent to row header.
236 - Fix: In spam score reports, spam scores are collected for any
237 contents category; previously, only ham and spam categories
238 were used. If a score exists, it is used.
239 - Fix: SPAMMY was being treated as spam instead of ham.
240 - Fix: Passed UNCHECKED lines were reported as Unmatched, due to
241 spelling error (UNCHECED v. UNCHECKED) in RE.
242 - Fix: At detail > 10, log lines were truncated to max_report_width.
243 - Fix: Ignore dkim lines until better report is created.
244 - Fix: Ignore more debug log lines.
245 Thanks: Armin T�ting
246 - Fix: eliminate some extraneous newline output.
247 - Internal: debug output is now controlled by keywords.
248
249 2008-03-17 (version: 1.49.01pre1)
250 - New: Option sect_vars shows names of section configuration
251 variables/command line options in titles of Detail report sections.
252 This allows easy correlation of corresponding configuration file
253 variables/command line option for each section. [ Default: off ]
254 - New: amavis-logwatch man page created.
255 - New: Threshold limiting and Top N lists for every level in each
256 Detail section. Every level in each section can now be limited
257 with minimum count thresholds and top N lists. See the updated
258 README file, the comments in the amavis-logwatch.conf file, and
259 the new amavis-logwatch man page.
260 - New: Added Defanged and DefangError sections
261 - New: Autolearn report available when autolearn entries exist. This
262 feature requires enabling autolearn entries in amavis' $log_templ
263 log template, at the end of the amavis program or by proper
264 configuration of $log_templ in your amavisd.conf file.
265 Encouraged by: "Cube"
266 - Change: All recipients are now show when multiple recipients are
267 present. Previously, only the first recipient was shown. The
268 new option --first_recip_only will enable the previous behavior.
269 - Change: Timings percentiles report title and summary labels
270 - Change: Taint mode is now on by default in standalone mode. It is
271 disabled upon installation in logwatch mode, as logwatch fails with
272 taint mode enabled.
273 - Change: Summary report format has been changed (once again).
274 - Fix: Significantly reduce memory footprint when detail < 5.
275 - Fix: Usage and --help now correctly show only Detail section
276 level limiter options that are available. Previously, summary-
277 only counts were also display as level limiter options.
278 - Fix: configuration file reading code was not properly warning on
279 non-existent files
280 - Fix: use Received ip (%e macro in log_templ) if client IP (%a) is
281 not available.
282 - Fix: ignore diagnostic defang messages. Thanks: Leon Kolchinsky
283 - Fix: SpamDiscarded messages were being added to TotalSpams, but
284 this is incorrect, as SpamDiscarded is already included in
285 SpamBlocked. SpamBlocked is now reduced by SpamDiscarded, and
286 TotalSpams is correct again.
287 - Fix: Ignore more level 3+ log lines.
288 - Fix: unmatched SPAM-TAG lines when no quarantine enabled.
289 Thanks: Paul Dulaba
290 - Fix: sabypassed section was being double counted due to spam-scan
291 lines
292 - Fix: report header was one character too wide
293 - Internal: Converted source to be package-based to allow code sharing
294 with postfix-logwatch. The single-file executable is auto-generated
295 from the packages.
296 - Internal: internal gen_test_log function to create sample log data
297 for testing. Reads '#TD' comments from within amavis-logwatch.
298 - Internal: converted all Section keynames to lowercase to avoid
299 silly case errors due to hash key case differences in Sections,
300 Opts, and Collecting hashes.
301 - Internal: Cleanup Passed/Blocked code
302
303 2008-01-25 (version: 1.48.27)
304 - Released
305
306 2008-01-19 (version: 1.48.27pre5)
307 - Fix: Relax email address REs
308 - Fix: Prefix unknown data with an asterisk as in postfix-logwatch
309 (eg. "*unknown")
310 - Fix: Generalize capture of "Empty result from ..." to support
311 any AV scanner
312 Thanks: Stefan Jakobs
313 - Fix: Ignore more level 5 log lines.
314
315 2008-01-16 (version: 1.48.27pre4)
316 - Fix: Ignore "policy protocol: policy_bank=..." lines, and
317 report as warnings "policy protocol: INVALID..." lines
318 Thanks: Jurek Sakol
319 - Fix: Additional WarningSQL captures.
320 - Fix: Ignore more level 5 log lines.
321
322 2008-01-14 (version: 1.48.27pre3)
323 - Fix: Ignore ! leader chars in "FWD via SMTP: ..." and similar.
324 Thanks: Stefan Jakobs
325
326 2008-01-14 (version: 1.48.27pre2)
327 - New: SmtpResponse section for various negative and positive
328 SMTP reponse log lines.
329 - New: TmpPreserved section to capture log lines indicating when
330 amavis does not remove temporary directories
331 - Fix: Experimental: Handle more dccproc errors in DccError
332 Thanks: Stefan Jakobs
333 - Fix: ignore "save_info_preliminary..." and "save_info_final ..."
334
335 2007-12-14 (version: 1.48.27pre1)
336 - New: Handle "Quarantine release xxx: missing X-Quarantine-ID" log
337 entries as warnings in new section WarningNoQuarantineID.
338 - New: Handle "WARN: address modified ..." log entries as warnings
339 in new section WarningAddressModified.
340
341 2007-12-14 (version: 1.48.26)
342 - Fix: Handle empty sender in release from quarantine
343 - Fix: Handle amavis 2.5.3's "extra modules loaded after daemonizing"
344 message
345 - New: AVTimeout is now treated as a warning so it will show at the
346 top of the Summary report. The scanner that timed out is available
347 in the Detail section.
348 - New: AVConnectFailure, WarningSmtpShutdown, WarningSQL sections.
349 These were previously grouped under the Warnings section; Like the
350 AVTimeout section, these too will also appear at the top of the
351 Summary report.
352 - Fix: canonicalize several warnings which differed only by process
353 number, amavis id, callback info, etc. Thanks: Stefan Jakobs
354 - Fix: several Warning Counts variables were inconsistently used.
355 - Fix: avoid useless reporting of Perl's pseudo-modules which can't,
356 be pre-loaded once (eg. those in .../unicore/lib/).
357
358 2007-10-17 (version: 1.48.26pre4)
359 - Incompatible Change: some more config variable/option name changes
360 for naming consistency and shortening: ReleasedMsg -> Released,
361 CleanMsgPassed, CleanMsgBlocked -> CleanPassed, CleanBlocked respectively
362 - Change: uncomment all variables in the config file. This ensures the
363 variables in the config file stay in sync with those used in the
364 source.
365 - Fix: sync'd incorrect names in config file with source
366 Thanks: Isaac Ordonez
367 - New: Handle "Can't send SIG 0 to process [###]: Operation not permitted..."
368
369 2007-10-14 (version: 1.48.26pre3)
370 - Changed: In timings report, always show actual totals instead of totals for
371 the data presented (eg. when --timings was < 100%).
372 - Changed: Total times shown in timings percentiles report previously
373 were the sum of the percentiles columns. This represented a cherry-picked,
374 hypothetical set of values. Now, there are two totals shown: the first
375 is a percentiles report calculated from the actual set of per-message total
376 scan times reported by amavis, and the second is a hypothetical worst/best
377 case, whose percentiles are calculated from simple column summations.
378 Encouraged by: Robert Brooks
379
380 2007-10-10 (version: 1.48.26pre2)
381 - New: Spam score frequency report, controlled with option --score_frequency.
382 Suggested by: Robert Brooks
383 - Incompatible Change: To reduce the number of configuration file variables
384 and command line options, and to be more consistent, several config
385 variables/command line options have changed. In general, the method now
386 employed is an overloading approach; specifying values for a report
387 section also enables that section. The "no" variant disables a section,
388 and the new keyword "default" resets options to their internal defaults.
389 Run amavis-logwatch --help to see a list of the new options, and see the
390 comments in the default amavis-logwatch.conf file.
391 - Fix: IP isn't always reported; report "Unknown" in such cases
392 - Internal: change how options are processed
393 - Internal: parameterize some report formatting
394
395 2007-10-02 (version: 1.48.26pre1)
396 - New: show percentiles totals at bottom of percentile report.
397 Suggested by: Robert Brooks
398
399 2007-09-21 (version: 1.48.25)
400 - Fix: Ignore "mail checking ended: " and "AM.PDP" lines. Also, escape
401 a dot in an ignore pattern, and remove duplicate.
402 Thanks: Curtis Doty, Mark Martinec
403
404 2007-09-17 (version: 1.48.24)
405 - Fix: Remove excessive blank lines in summary output
406
407 2007-09-16 (version: 1.48.23)
408 - Fix: Support SMTP connections to amavis
409 - Experimental: Reformated summary section to better show the relationship
410 between counts, percentages, and totals. Feedback encouraged.
411
412 2007-09-13 (version: 1.48.22)
413 - Fix: no -D option to install in FreeBSD. Use -d instead in Makefile
414
415 2007-09-01 (version: 1.48.21)
416 - Fix: use ask_av and run_av as virus indicators for Malware by Scanner,
417 as previously used virus_scan line does not report accurate information
418 when multiple scanners report different malware names
419 - Fix: ignore "broken pipe (don't worry), retrying" messages
420 - Fix: Directory permission within tarball was not executable
421 - Fix: remove rooted path in md5 file
422 - Fix: Makefile install-logwatch rule was missing a parenthesis
423 - Fix: Makefile updates from Till Mass
424
425 2007-08-31 (version: 1.48.20)
426 - Change: Include GPLv2 license
427 - Change: Include version number in tarball file name
428 - Internal: Move CVS log comments to Changes file
429
430 2007-08-29 (version: 1.48.19)
431 - New: added --syslog_name ($amavis_Syslog_Name) for installations where
432 syslog name is not "amavis" (eg. /usr/sbin/amavisd).
433 New: ignore additional amavis log entries
434 Thanks: Jordi Espasa Clofent
435
436 2007-08-15 (version: 1.48.18)
437 - Internal: change variable Formats to the more obvious named Sections
438
439 2007-08-14 (version: 1.48.17)
440 - New: capture "skip local delivery..." messages, controlled with
441 LocalDeliverySkipped variable/option. Thanks Andrew M. Kinnard
442 - Output help and version info on STDOUT for easier pipelines to a pager
443 - Internal: split printReports into printSummaryReport and printDetailReport
444
445 2007-08-13 (version: 1.48.16)
446 - New: enable detail output for clean blocked messages
447 - Fix: disable startinfo report when --nodetail is given
448
449 2007-08-04 (version: 1.48.15)
450 - New: option --nodetail zeros out all detail levels, to more easily obtain
451 only specified detailed reports (eg: --nodetail --spamblocked=4) will
452 show only spam blocked (to level 4) in the details section.
453 - New: option --nosummary disables the summary section
454 - New: detailed section command line arguments can now be specified with the
455 prefix "no", to set the level to 0 (eg. --nospampassed is equivalent to
456 --spampassed 0).
457
458 2007-08-03 (version: 1.48.14)
459 - New: option --config_file allows specifying a configuration file via
460 command line. Options in configuration file act as though they were
461 set on the command line in order, with ealier settings being over-
462 ridden by most recent settings. Multiple config_file options may
463 be specified.
464 - Fix: Yes/True and No/False config values weren't being read properly
465 in standalone
466
467 2007-08-02 (version: 1.48.13)
468 - Ignore "storage and lookups will use the same connection to SQL"
469 - Support bracketed IP in LMTP messages (eg. "LMTP:[127.0.0.1]:10026...")
470 - Thanks John Beaver
471
472 2007-07-13 (version: 1.48.12)
473 - FreeBSD change in v1.48.11 botched non-freeBSD systems
474
475 2007-07-13 (version: 1.48.11)
476 - Support FreeBSD (<facility.priority> preceeds hostname in syslog)
477
478 2007-07-06 (v1.48.10)
479 - Capture and summarize cabextract messages
480
481 2007-07-05 (v1.48.9)
482 - Generalize archive extraction problem messages. The new variable
483 amavis_ArchiveExtract replaces amavis_EmptyMember and EncryptedArchive.
484 - Generalize some fatal and warning messages
485 - Capture and summarize more MAIA and MySQL entries
486 - Add MAIA Fake Sender section
487
488 2007-07-03 (v1.48.8)
489 - Experimental: syntax to limit Top N level 1 output lines. Variables
490 that control depth levels in detailed reports can be specified as
491 m.n, where m is the maximum level to output, and n specifies the number
492 of level 1 items output. Eg: $amavis_SpamBlocked=2.10, will output
493 the top 10 level 1 items, with each item providing 2 levels of detail.
494 - Capture "Config files read"
495
496 2007-07-03 (v1.48.7)
497 - Reorganized code; favors newer amavis releases
498 - Show scores assigned to each SA test in spam/ham reports
499 - Catch and report file(1) bad/extra output messages
500 - increased width of timing report for maia
501 - Add additional ccats MTA-BLOCKED, OVERSIZED, OTHER
502 - Support older amavis entries (as in maia)
503
504 2007-06-07
505 - Changed NoSubject title to more accurately indicate Subject header insertion
506
507 2007-05-31
508 - Fix bug which caused config file to be required in standalone mode
509
510 2007-05-28
511 - Added content-type section (log_level >= 2)
512 - Added SpamAssassin bypassed count summary ($sa_mail_body_size_limit)
513 - Only print report headers for SA rules report when data exists
514 - Fix end points of percentiles calculations
515 - In percentile reports, when N% is requested for output, show *at least*
516 N% (previously was *at most*, which might have produced no values)
517
518 - NOTE: Some older amavis log entries may be flagged as Unmatched, as code
519 restructuring now favors recent amavis releases. Please report any
520 Unmatched entries and I will correct the problems immediately.
521
522 2007-05-27
523 - Can't ignore all do_quarantine_and_notify messages; one indicates quarantine cutoff level
524 - Additional continuation line fix; several log entries end with "..." and are not
525 continuation lines, causing subsequent log line to be ignored. Continuation lines are
526 exactly 980 chars - see comments in source.
527 - Internal: Group similar messages
528 - Add zero-width assertions and use strict IP RE in bycount sort subroutine
529 to match IP addresses more reliably
530
531 2007-05-23
532 - Fix alignment issue in Top N Spam/Ham reports
533 - Provide a better (working) solution to avoid the SPAM/SPAM-TAG duplication
534 mentioned below.
535
536 2007-05-18
537 - Allow supplementary reports to be printed even when TotalMsgs is 0;
538 This typically would not occur in practice, but is useful for debugging.
539 - Some lines ending with "..." are not actually continuation lines; treat
540 them as ordinary lines for further consideration (Thanks Eray Aslan)
541 - When both SPAM and SPAM-TAG are present, don't double count (which
542 doubles SA test score accumulators). (Thanks Eray Aslan)
543 - Rework white/blacklisted section; sender is now tracked. (Thanks Dan Horne)
544
545 2007-05-15
546 - Revision 1.48 2007/05/16 04:27:17 mrc
547
548 2007-05-16
549 - Ignore a few more log lines for log_level 3
550 - Fixed problem setting SARules config variable; renamed Show_SARules
551
552 2007-05-14
553 - Revision 1.47 2007/05/14 17:28:21 mrc
554 - Forgot to update Version string
555
556 2007-05-14
557 - Revision 1.46 2007/05/14 17:20:45 mrc
558
559 2007-05-08
560 - Minor changes to sync up with postfix-logwatch release
561 - Capture MailZu quarantine release messages
562
563 2007-05-07
564 - Handle amavis' Hits that includes, but does not add/subtract boost
565 scores (eg. 1.03-3.5)
566 - The option --timing_percentiles was not being recognized, due to name
567 change from --percentiles. Both are recognized.
568
569 2007-05-04
570 - Ignore "The amavisd daemon is already running" messages
571
572 2007-05-02
573 - Reworked the Startup info section. Only shows at detail 10 by default
574
575 2007-05-01
576 - Add Ham / Spam hits summary
577 - Experimental: Show Top N Spam/Ham SA rules hit
578 - Minor SPAM/SPAM-TAG RE update
579
580 2007-04-28
581 - Experimental: Show hit Bayesian buckets
582 - Experimental: Show hit SA tests
583 - More cleanup (refactor common code, replace most global variables with lexicals,
584 lowercase non-global variable names, shorten variable names, etc.)
585
586 2007-04-25
587 - Renamed script to "amavis-logwatch" to avoid confusion when running
588 in standalone mode. See the README.
589 - Experimental: Show spam score percentiles.
590 - Additional standalone features. Try: logwatch_amavis/amavis --help
591
592 2007-04-24
593 - Minor RE adjustment for amavis 2.5.0
594 - Report SA version when shown in INFO line (amavis 2.5.0)
595 - Top N percent of Timings report is now configurable (amavis_Timings)
596 - Display of startup info can be disabled (amavis_StartInfo)
597
598 2007-03-31
599 - Capture SMTP shutdown messages
600 - Capture and report TEMPFAIL messages
601 - Updated comments regarding IPv6 from Mark Martinec
602 - Support for running in standalone mode (independent of logwatch)
603
604 2007-03-27
605 - Revision 1.45 2007/03/27 01:09:48 mrc
606
607 2007-03-25
608 - Handle multiple viruses in list in Malware by Scanner
609
610 2007-03-15
611 - Handle multiple recipients in Release from quarantine
612 - Swap From and To keys in Release from quarantine, to handle multiple
613 recipients
614
615 2007-03-03
616 - add inc_unmatched subroutine for easier debug of unmatched lines
617
618 2007-03-01
619 - Fix problem in sort routine where IP addresses were being captured
620 anywhere in an output line for comparison via pack 'C4' - only
621 attempt IP comparison if an IP address is the start of an output line.
622
623 2007-02-27
624 - Revision 1.44 2007/02/27 20:31:42 mrc
625 - New section for Passed|Blocked UNCHECKED
626 - Change summary output criteria to check for any non-zero Totals
627
628 2007-02-17
629 - Revision 1.43 2007/02/17 18:43:39 mrc
630 - Ensure no output occurs when nothing is captured
631 - Sync up the shared routines with the postfix code
632 - Made maximum report width configurable in amavis.conf
633 - All lines in report now obey max report width
634 - Warn about dccproc unable to open map error
635
636 2007-02-16
637 - Revision 1.42 2007/02/16 06:21:20 mrc
638
639 2007-02-11
640 - Capture and summarize Bad Address Syntax message
641 (in postfix, can occur when strict_rfc821_envelopes is not set)
642
643 2007-02-08
644 - Group similar BAD HEADER messages and remove From key
645
646 2007-02-07
647 - Revision 1.41 2007/02/07 04:19:43 mrc
648
649 2007-02-05
650 - Update IPv6 RE to accept amavis' "IPv6:" prefix
651 - Liberalize several REs to better capture policy bank names
652 - Ignore lines:
653 "OS_fingerprint:"
654 "run_as_subprocess: child process... "
655 "Sophie broken pipe ..."
656 "penpals: (bonus|prev Subject:|this Subject:"
657 "virus_scan: \(bad jpeg: Invalid marker segm len"
658 - Ignore lines from upcoming 2.5.0 version:
659 "adding SA score \S+ to existing"
660 "Turning AV infection into a spam report:"
661 - Correct bad syntax of "$#{@$aref}" with "$#$aref"
662 - Enable "use strict"
663 - Declare global vars
664 - Thanks: Mark Martinec
665
666 2007-02-02
667 - Fixed Banned RE, which would fail to capture a banned filename
668 that contained an right paren.
669
670 2007-02-02
671 - Revision 1.40 2007/02/02 18:41:09 mrc
672
673 2007-02-01
674 - Revision 1.39 2007/02/01 20:16:52 mrc
675 - Removed inadvertent debug prints, and extra newline from timing reports.
676
677 2007-02-01
678 - Revision 1.38 2007/02/01 19:58:50 mrc
679 - Changed amavis timing report to display percentiles
680 instead of mean. Percentiles are user configurable.
681 Suggested by: Mark Martinec
682
683 2007-02-01
684 - Removed Min/Max columns, and replaced them instead
685 by adding 0 and 100 percentiles to the default list.
686 - Allow for multiple continuation lines
687 - Fixed issue with unmatched lines that contain a %
688
689 2007-01-31
690 - Revision 1.37 2007/01/31 06:38:43 mrc
691 - Minor updates for amavis 2.4.5 log messages changes
692 - Capture and summarize panic messages in new Panic section
693
694 2007-01-30
695 - Revision 1.36 2007/01/31 02:50:15 mrc
696 - Provide amavis timing report (detail >= 5)
697 - Correctly capture amavis log continuation lines
698 - Capture additional ClamAV warnings
699
700 2007-01-27
701 - Revision 1.35 2007/01/27 20:29:21 mrc
702 - Pin important errors to top of report
703 - Handle IPv6 addresses
704 - Thanks: Harald Geiger, Geert Janssens, Leon Kolchinsky, Mark Richards
705
706 2007-01-26
707 - Add Recipient key in Malware Blocked section
708 - Lowercase Recipient email addresses
709
710 2007-01-24
711 - Added Malware by Scanner section
712
713 2007-01-23
714 - Capture and summarize:
715 All "(!+)..." debug lines, placed in warning section
716 DSN Notification debug lines
717
718 2007-01-22
719 - Capture and summarize:
720 "(!)WARN: ..." lines
721 "INFO: truncated N header line(s) longer than 998 characters"
722 - Ignore "...email.txt no longer exists, can't re-use it" lines
723
724 2007-01-19
725 - Use same tree-building and reporting code as postfix filter
726 - Detailed summary lines are sorted first by count, then by IP and lexically
727 - Provide ability to configure per section maximum detail
728 - Added bytes scanned summary
729 - Ignore additional log lines:
730 "Waiting for the process [NNN] to terminate"
731 "do_notify_and_quarantine: rec_ccat"
732 "Valid PID file (younger than sys uptime ..."
733 "Sending SIGxxx to amavisd"
734 "Daemon [NNN] terminated by SIG..."
735 - Capture and report on missed or ignored log lines
736 additional "SA TIMED OUT" messages
737 A/V timeouts
738 encrypted archive members
739 "logging initialized, log level N, syslog: amavis.mail"
740 - Make "extra code modules loaded" report consistent with others
741 - Spam discarded (not quarantined) percentage is now shown as
742 percentage of Total scanned instead of Spam blocked
743
744 # old logwatch amavis CVS log
745
746 Revision 1.34 2006/11/12 18:39:34 bjorn
747 Change by MrC:
748 - Catches more amavis continuation lines
749 - Reports on mail released from quarantine via "amavisd-release"
750 - Reports supplemental minor bad headers available in amavisd 2.4.4+
751 - Suppresses empty detail lines in generic doReport routine
752
753 Revision 1.33 2006/10/16 22:19:05 mike
754 Amavis patch for protocols from Mike Cappella -mgt
755
756 Revision 1.32 2006/07/06 00:25:00 bjorn
757 Additional filtering and counting, by Geert Janssens
758
759 Revision 1.31 2006/06/29 16:02:05 bjorn
760 Corrected two previous log entries.
761
762 Revision 1.30 2006/06/27 15:17:53 bjorn
763 Improved parsing and counting from Geert Janssens.
764
765 Revision 1.29 2006/06/24 16:06:12 bjorn
766 Major rewrite from Mike Cappella.
767
768 Revision 1.28 2006/05/26 18:32:50 bjorn
769 Additional regexp adjustment, by 'Who Knows'.
770
771 Revision 1.27 2006/05/21 18:17:41 bjorn
772 Complies with recent amavis releases, by Who Knows.
773
774 Revision 1.26 2006/04/02 17:26:52 kirk
775 fixed spelling error
776
777 Revision 1.25 2006/01/29 23:52:53 bjorn
778 Print out virus names and sender, by Felix Schwarz.
779
780 Revision 1.24 2005/12/07 19:15:56 bjorn
781 Detect and count timeouts, by 'Who Knows'.
782
783 Revision 1.23 2005/11/30 05:34:10 bjorn
784 Corrected regexp with space, by Markus Lude.
785
786 Revision 1.22 2005/11/22 18:34:32 bjorn
787 Recognize 'Passed' bad headers, by "Who Knows".
788
789 Revision 1.21 2005/10/26 05:40:43 bjorn
790 Additional patches for amavisd-new, by Mike Cappella