Hello Amavis users, A new version of the Amavis log reporting utility is available. The updates since my Feb 1st announcement are:
New Features: - Runs both as a standalone utility (not requiring "logwatch") and as a logwatch filter - Added Ham / Spam hits summary - Show (top N) hits of Spam/Ham SA rules - Show hit Bayesian buckets - Show spam score percentiles Additional changes: - Renamed script to "amavis-logwatch" to avoid confusion when running in standalone mode. See the README. - Reworked the Startup info section. Only shows at detail 10 by default, - Display of startup info can be disabled (amavis_StartInfo) - Minor adjustments for amavis 2.5.0 - Top N percent of Timings report is now configurable (amavis_Timings) - Handles more amavis messages - Handle multiple viruses in list in Malware by Scanner - Swap From and To keys in Release from quarantine to handle multiple recipients - Fix problem in sort routine where IP addresses were being captured anywhere in an output line for comparison via pack 'C4' - only attempt IP comparison if an IP address is the start of an output line. - New section for Passed|Blocked UNCHECKED - Change summary output criteria to check for any non-zero Totals (ensures no output occurs when there is nothing to report) - Made maximum report width configurable in amavis.conf - Capture and summarize Bad Address Syntax message (in postfix, can occur when strict_rfc821_envelopes is not set) - Group similar BAD HEADER messages and remove From key - Update IPv6 REs to accept RFC 2821 IPv6 address-literal - Fixed Banned RE, which would fail to capture a banned filename that contained an right paren. - Liberalize several REs to better capture policy bank names - General cleanup (refactor common code, reduce use of global variables, lowercase non-global variable names, shorten variable names, use strict, warnings, etc.) The new 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 everyone 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 [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
