SF.net SVN: logwatch:[82] scripts/services/spamassassin
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 82
http://logwatch.svn.sourceforge.net/logwatch/?rev=82&view=rev
Author: opoplawski
Date: 2012-02-22 23:25:06 +0000 (Wed, 22 Feb 2012)
Log Message:
-----------
Do not strip area name from spamd log line, it is useful
Modified Paths:
--------------
scripts/services/spamassassin
Modified: scripts/services/spamassassin
===================================================================
--- scripts/services/spamassassin 2012-01-18 16:30:58 UTC (rev 81)
+++ scripts/services/spamassassin 2012-02-22 23:25:06 UTC (rev 82)
@@ -63,20 +63,19 @@
# meta test SARE_SPEC_PROLEO_M2a has dependency 'MIME_QP_LONG_LINE' with a zero score : 1 Time(s)
while (defined($ThisLine = <STDIN>)) {
- $ThisLine =~ s/^[a-zA-Z0-9]+: //;
if ( # We don't care about these
# Note that we DO care about "connection from" non-localhost
( $ThisLine =~ m/connection from localhost / ) or
( $ThisLine =~ m/setuid to / ) or
( $ThisLine =~ m/processing message / ) or
- ( $ThisLine =~ m/^result: / ) or
- ( $ThisLine =~ m/^child states: / ) or
- ( $ThisLine =~ m/^alarm *$/ ) or
- ( $ThisLine =~ m/^handled cleanup of child / ) or
- ( $ThisLine =~ m/^server successfully spawned child process, / ) or
- ( $ThisLine =~ m/^removing stderr method/ ) or
- ( $ThisLine =~ m/^server pid:/ ) or
- ( $ThisLine =~ m/^adjust: \d+ idle children (less|more) than \d+ (min|max)imum idle children/ ) or
+ ( $ThisLine =~ m/^spamd: result: / ) or
+ ( $ThisLine =~ m/^prefork: child states: / ) or
+ ( $ThisLine =~ m/^spamd: alarm *$/ ) or
+ ( $ThisLine =~ m/^spamd: handled cleanup of child / ) or
+ ( $ThisLine =~ m/^spamd: server successfully spawned child process, / ) or
+ ( $ThisLine =~ m/^logger: removing stderr method/ ) or
+ ( $ThisLine =~ m/^spamd: server pid:/ ) or
+ ( $ThisLine =~ m/^prefork: adjust: \d+ idle children (less|more) than \d+ (min|max)imum idle children/ ) or
0 # Always last in the list, so all above can say "or" at the end
) {
; # We don't care about these
@@ -88,7 +87,7 @@
$Users{ $User}++;
} elsif ( $ThisLine =~ m/still running as root: / ) {
$StillRoot++;
- } elsif ( $ThisLine =~ m/^connection from (.*) at port / ) {
+ } elsif ( $ThisLine =~ m/^spamd: connection from (.*) at port / ) {
$Connections{$1}++;
} elsif ( $ThisLine =~ m/\bchild\b/ ) {
chomp($ThisLine);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/