From: eldy <> Date: Fri, 1 Nov 2002 16:50:47 +0000 (+0000) Subject: Updated documentation X-Git-Tag: AWSTATS_5_2_BETA~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede49c6166a564f8e28339767f31e33fc5917565;p=thirdparty%2FAWStats.git Updated documentation --- diff --git a/docs/awstats_faq.html b/docs/awstats_faq.html index 68e34fdb..f0c96846 100644 --- a/docs/awstats_faq.html +++ b/docs/awstats_faq.html @@ -55,7 +55,7 @@ FAQ-SET210 "Internal Error" after a long time in my browser (Se FAQ-SET220 Crash while running awstats.pl or page content only partialy loaded
FAQ-SET250 Log format setup or errors.
FAQ-SET260 Setup for FTP server log files.
-FAQ-SET270 Setup for SENDMAIL log files.
+FAQ-SET270 Setup for MAIL log files (Sendmail, Exchange).
FAQ-SET272 Setup for WINDOWS MEDIA SERVER log files.
FAQ-SET280 Error "Not same number of records of...".
FAQ-SET300 Error "Couldn't open file ..."
@@ -110,7 +110,7 @@ Examples of used platforms (bold means 'tested by author', others were reported OS:
Windows 2000, Windows NT 4.0, Windows Me, Linux, Macintosh, Solaris, Aix, BeOS, ...
Web/Wap/Proxy/FTP/Mails/Streaming servers
-Apache 1.3.x and 2, IIS 5.0, WebStar, WebLogic, WebSite, Windows Media Server, Tomcat, Squid, Sendmail, +Apache 1.3.x and 2, IIS 5.0, WebStar, WebLogic, WebSite, Windows Media Server, Tomcat, Squid, Sendmail, Exchange, Roxen, Resin, ProFTP, Lotus Notes/Domino, IPlanet, IceCast, Zope, ZeroBrand, www4mail, ...
Perl interpreters:
ActivePerl 5.6, Perl 5.8, Perl 5.6, Perl 5.0, mod_perl for Apache, ...
@@ -309,8 +309,8 @@ You must use : LogFormat=6
See FAQ-SET260.
-If you want to analyze a Sendmail logfile:
-See FAQ-SET270.
+If you want to analyze a mail log file (Sendmail, Exchange):
+See FAQ-SET270.
If you use Windows Media Server:
@@ -384,13 +384,15 @@ Warning: This tip doesn't work for FTPed files that contains spaces in them (the log file to replace 'space' char into '_'...

-
-FAQ-SET270 : SETUP FOR SENDMAIL LOG FILES
+
+FAQ-SET270 : SETUP FOR MAIL LOG FILES (SENDMAIL, EXCHANGE...)
PROBLEM:
-What do I have to do to use AWStats to analyze my Sendmail log files.
+What do I have to do to use AWStats to analyze my mail log files.
SOLUTION:

-First, install a mail log convertor like SMA to use it +For Sendmail log files
+
+1- First, install a mail log convertor like SMA to use it as a post-processor for AWStats update process.
Setup SMA to convert your mail log into a format readable by AWStats:
Copy sma (or sma.exe) file and sma.conf into same directory than awstats.pl file.
@@ -410,8 +412,8 @@ Warning: some sma versions (1.3) have been reported to not convert month correct for example a date like this 2001-#01-01 instead of 2001-01-01. This makes AWStats analyze fails so check your sma output and change version if error.

-Then setup AWStats to analyze SMA processed mail log:
-Copy config awstats.model.conf file to "awstats.sendmail.conf".
+2- Then setup AWStats to analyze SMA processed mail log:
+Copy config awstats.model.conf file to "awstats.mail.conf".
Modify this new config file:
LogFile="/pathtosma/sma -O clog -f /pathtosmaconf/sma.conf /pathtomaillog/maillog |" @@ -442,6 +444,22 @@ Modify this new config file:

Now you can use AWStats as usual (run the update process and read statistics).

+For Exchange log files
+If someone can understand the Exchange log format, he can explain it to me at eldy@users.sourceforge.net.
+Until this server won't log in a clever way, just forget using AWStats or use a more serious +mail server (sendmail, postfix, ...). Sorry.
+ +

FAQ-SET272 : SETUP FOR WINDOWS MEDIA SERVER
diff --git a/wwwroot/cgi-bin/awstats.model.conf b/wwwroot/cgi-bin/awstats.model.conf index 67d51325..89762231 100644 --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -1,7 +1,7 @@ -# AWSTATS CONFIGURE FILE 5.1 +# AWSTATS CONFIGURE FILE 5.2 #----------------------------------------------------------------------------- -# Copy this file into awstats.www.mydomain.conf or awstats.conf and edit this -# new file to setup AWStats (See documentation in docs/ directory). +# Copy this file into awstats.www.mydomain.conf and edit this new config file +# to setup AWStats (See documentation in docs/ directory). # The config file must be in /etc/opt/awstats, /etc/awstats or /etc (for # Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...) # To include an environment variable in any parameter (AWStats will replace @@ -885,7 +885,7 @@ color_x="C1B2E2" # Background color for number of exit pages (Default = "C1B2 # Plugin: HashFiles # Perl modules required: Storable -# AWStats data files as read/saved as native hash files. This increase +# AWStats data files are read/saved as native hash files. This increase # data file loading speed, above all for very large web sites. # #LoadPlugin="hashfiles"