From: eldy <>
Date: Thu, 18 Sep 2003 13:45:09 +0000 (+0000)
Subject: Update documentation
X-Git-Tag: AWSTATS_5_9_BETA~33
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64c51949d28c7ca150cfffceca0144e0ca977289;p=thirdparty%2FAWStats.git
Update documentation
---
diff --git a/docs/awstats_config.html b/docs/awstats_config.html
index d3616947..8a86f964 100644
--- a/docs/awstats_config.html
+++ b/docs/awstats_config.html
@@ -871,11 +871,10 @@ when reading it), follow the example:
# successful mail transfers if field that represent return code in analyzed
# log file match values defined by this parameter.
# Change : Effective for new updates only
-
# Example: "1"
-
# Example: "0"
-
# Default: "1"
+
# Example: "1 250 200"
+
# Default: "1 250"
#
-
ValidSMTPCodes="1"
+
ValidSMTPCodes="1 250"
diff --git a/wwwroot/cgi-bin/awstats.model.conf b/wwwroot/cgi-bin/awstats.model.conf
index 57296b11..be828705 100644
--- a/wwwroot/cgi-bin/awstats.model.conf
+++ b/wwwroot/cgi-bin/awstats.model.conf
@@ -519,11 +519,10 @@ ValidHTTPCodes="200 304"
# successful mail transfers if field that represent return code in analyzed
# log file match values defined by this parameter.
# Change : Effective for new updates only
-# Example: "1"
-# Example: "0"
-# Default: "1"
+# Example: "1 250 200"
+# Default: "1 250"
#
-ValidSMTPCodes="1"
+ValidSMTPCodes="1 250"
# Some web servers on some Operating systems (IIS-Windows) considers that a
diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
index ee68fd6e..1003743b 100644
--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -1112,7 +1112,7 @@ sub Read_Config {
}
# If parameter ValidSMTPCodes not found, init for backward compatibility
if (! $FoundValidSMTPCodes) {
- $ValidSMTPCodes{"1"}=1;
+ $ValidHTTPCodes{"1"}=$ValidHTTPCodes{"250"}=1;
}
}