Re: [AMaViS-user] Announce: Amavis log reporter updated v1.48.8

2007-07-05 Thread Leon Kolchinsky
 Hello Amavis users,
 
 I've made enough changes in the Amavis log reporting utility to probably
 warrant this more general list announcement.  The updates since my May
 6th announcement are:
 
 New Features:
   - Ability to limit each detailed section's level 1 output (i.e.
 Top N).  Variables that control depth levels in detailed reports may
 now be specified as m.n, where m is the maximum level to output, and
 n specifies the number of level 1 items output.  For example, the
 setting:
 
   $amavis_SpamBlocked = 2.10
 
 will output the top 10 level 1 items, with each of those items
 providing 2 sub-levels of detail.
   - Show SA test scores in spam/ham reports
   - Add additional ccats MTA-BLOCKED, OVERSIZED, OTHER
   - Added content-type section (log_level = 2)
   - Added SpamAssassin bypassed count summary ($sa_mail_body_size_limit)
   - Rework white/blacklisted section; sender is now tracked.
 

Thanks Mike,

I'll try it next week :)


Regards,
Leon


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Announce: Amavis log reporter updated v1.48.8

2007-07-04 Thread MrC
Hello Amavis users,

I've made enough changes in the Amavis log reporting utility to probably 
warrant this more general list announcement.  The updates since my May 
6th announcement are:

New Features:
  - Ability to limit each detailed section's level 1 output (i.e.
Top N).  Variables that control depth levels in detailed reports may
now be specified as m.n, where m is the maximum level to output, and
n specifies the number of level 1 items output.  For example, the
setting:

  $amavis_SpamBlocked = 2.10

will output the top 10 level 1 items, with each of those items
providing 2 sub-levels of detail.
  - Show SA test scores in spam/ham reports
  - Add additional ccats MTA-BLOCKED, OVERSIZED, OTHER
  - Added content-type section (log_level = 2)
  - Added SpamAssassin bypassed count summary ($sa_mail_body_size_limit)
  - Rework white/blacklisted section; sender is now tracked.

Additional changes:
  - Change: In percentile reports, when N% is requested for output,
show *at least* N% (previously was *at most*, which might have
produced no values)
  - Change: SARules config variable renamed to Show_SARules
  - Change: option --percentiles changed to --timing_percentiles

  - NOTE: The internal code has been reorganized to favor newer amavis
releases.  Some older amavis log entries may be flagged as Unmatched.
Please report any Unmatched entries and I will correct the problems
immediately.

  - Fix: config file was required in standalone mode
  - Fix: only print report headers for SA rules report when data exists
  - Fix: quarantine cutoff level reports were missing
(incorrectly ignored all do_quarantine_and_notify messages)
  - Fix: continuation lines identification; several log entries that end
with ... are not continuation lines, causing subsequent log line
to be ignored.  Continuation lines are exactly 980 chars - see
comments in source.
  - Fix: end points of percentiles calculations
  - Fix: add zero-width assertions and use strict IP RE in bycount sort
subroutine to match IP addresses more reliably
  - Fix: alignment issue in Top N Spam/Ham reports
  - Allow supplementary reports to be printed even when TotalMsgs is 0;
This typically would not occur in practice, but is useful for
debugging.
  - Fix: when both SPAM and SPAM-TAG are present, don't double count
(which doubles SA test score accumulators).
  - Fix: problem setting SARules config variable; renamed Show_SARules
  - Fix: the option --timing_percentiles was not being recognized, due to
name change from --percentiles.  Both are recognized.
  - Fix: capture MailZu quarantine release messages
  - Fix: handle amavis' Hits that includes, but does not add/subtract
boost scores (eg. 1.03-3.5)
  - Fix: ignore a few more log lines for log_level 3
  - Report Config files read entry in Startup section
  - Report file(1) bad/extra output messages
  - Increased width of timing report for maia
  - Changed NoSubject title to more accurately indicate Subject
header insertion
  - Internal: group similar messages
  - Internal: minor changes to sync up with postfix-logwatch release

As always, the latest amavis logwatch filter can be downloaded from:

http://www.mikecappella.com/logwatch

Download and expand the amavis-logwatch.tgz file, and see the enclosed 
README file for installation, usage, and customization instructions.

As a logwatch filter, the filter has been tested with logwatch 7.3.x but 
probably works in the 7.x series.  I have not determined the oldest 
version of logwatch that will work with this filter, but users have 
reported that it works with 7.1.

Feedback is welcome and encouraged.  If you have log lines that are not 
captured or processed correctly, please send me a copy of the line in 
some form of archive so that whitespace is not altered, and I'll update 
the script.  Either alter private information, or leave it as is, and 
rest assured your data will remain confidential.

Thanks to Eray Aslan, Dan Horne, Erik Weber, Julien Muhlenpfordt and 
everyone else who has provided feedback and improvement suggestions.

MrC
---

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/