@@ -1,6 +1,19 @@
--- qmailmrtg7.c.orig 2012-01-21 20:06:05.119092845 +0100
-+++ qmailmrtg7.c 2012-01-21 20:30:31.381334083 +0100
-@@ -255,14 +255,20 @@
++++ qmailmrtg7.c 2012-01-21 21:14:30.095772299 +0100
+@@ -147,6 +147,12 @@
+ } else if ( strcmp(mydirent->d_name, "current") == 0 ) {
+ snprintf(TheFile,sizeof(TheFile),"%s/%s", TheDir, mydirent->d_name);
+ process_file(TheFile);
++ } else if ( strcmp(mydirent->d_name, "mail") == 0 ) {
++ snprintf(TheFile,sizeof(TheFile),"%s/%s", TheDir, mydirent->d_name);
++ process_file(TheFile);
++ } else if ( strcmp(mydirent->d_name, "mail.log") == 0 ) {
++ snprintf(TheFile,sizeof(TheFile),"%s/%s", TheDir, mydirent->d_name);
++ process_file(TheFile);
+ }
+ }
+ closedir(mydir);
+@@ -255,14 +261,20 @@
case 'S':
if ((tmpstr1 = strstr(TmpBuf, "identified spam"))!=NULL) {
++tspam;
@@ -21,7 +34,7 @@
} else if ((tmpstr1 = strstr(TmpBuf, "ERROR"))!=NULL) {
++cerror;
}
-@@ -287,6 +293,8 @@
+@@ -287,6 +299,8 @@
++tdeny;
} else if ((tmpstr1 = strstr(TmpBuf, " rblsmtpd:"))!=NULL) {
++tdeny;
|