1 |
unnilennium |
1.1 |
diff -up smeserver-mailstats-1.0/root/usr/bin/spamfilter-stats-7.pl.auth_cvm_unix_local smeserver-mailstats-1.0/root/usr/bin/spamfilter-stats-7.pl |
2 |
|
|
--- smeserver-mailstats-1.0/root/usr/bin/spamfilter-stats-7.pl.auth_cvm_unix_local 2012-05-26 11:09:22.000000000 -0400 |
3 |
|
|
+++ smeserver-mailstats-1.0/root/usr/bin/spamfilter-stats-7.pl 2012-09-09 19:46:27.000000000 -0400 |
4 |
|
|
@@ -8,6 +8,8 @@ |
5 |
|
|
# by Jesper Knudsen at http://sme.swerts-knudsen.dk |
6 |
|
|
# and re-written by brian read at bjsystems.co.uk (with some help from the community - thanks guys) |
7 |
|
|
# |
8 |
|
|
+# bjr - 02sept12 - Add in qpsmtpd failure code auth::auth_cvm_unix_local as per Bug 7089 |
9 |
|
|
+# |
10 |
|
|
############################################################################# |
11 |
|
|
# |
12 |
|
|
# SMEServer DB usage |
13 |
|
|
@@ -479,6 +481,8 @@ LINE: while (<>) { |
14 |
|
|
|
15 |
|
|
|
16 |
|
|
if ($log_items[5] eq 'tls') {$MiscDenyCount++;$counts{$abshour}{$CATNONCONF}++;mark_domain_rejected($proc);next LINE} |
17 |
|
|
+ |
18 |
|
|
+ if ($log_items[5] eq 'auth::auth_cvm_unix_local') {$MiscDenyCount++;$counts{$abshour}{$CATNONCONF}++;mark_domain_rejected($proc);next LINE} |
19 |
|
|
|
20 |
|
|
|
21 |
|
|
print "Unexpected failure string in log file: ".$log_items[5]."\n"; #Not detected |