packages: cacti-template-mail_statistics/more-matches.patch (NEW) - match s...

glen glen at pld-linux.org
Thu Oct 21 17:49:17 CEST 2010


Author: glen                         Date: Thu Oct 21 15:49:17 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- match some more lines

---- Files affected:
packages/cacti-template-mail_statistics:
   more-matches.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cacti-template-mail_statistics/more-matches.patch
diff -u /dev/null packages/cacti-template-mail_statistics/more-matches.patch:1.1
--- /dev/null	Thu Oct 21 17:49:17 2010
+++ packages/cacti-template-mail_statistics/more-matches.patch	Thu Oct 21 17:49:12 2010
@@ -0,0 +1,10 @@
+--- cacti-template-postfix-0.1/fetch_mail_statistics.pl	2005-12-19 15:52:35.000000000 +0200
++++ cacti-template-postfix-0.1/fetch_mail_statistics.pl	2010-10-21 17:22:21.000000000 +0300
+@@ -81,6 +81,7 @@
+     elsif ( / Blocked INFECTED/ ) { $num_infected++; }
+     elsif ( / Passed BAD-HEADER/ ) { $num_header++; }
+     elsif ( / Blocked BAD-HEADER/ ) { $num_header++; }
++    elsif ( / Passed BANNED/ ) { $num_banned++; }
+     elsif ( / Blocked BANNED/ ) { $num_banned++; }
+   }
+   open( DBFILE, ">".$dbFile ) || die( "Cannot write to db file `".$dbFile."'!" );
================================================================


More information about the pld-cvs-commit mailing list