<!--
<br>
-<br><a name="awstats_configure"><H2 style="font: 22px arial,helvetica,sans-serif color: #606060"><u>awstats_configure.pl</u></H2></a>
+<br><a name="awstats_configure"><H2 style="font: 18px arial,helvetica,sans-serif color: #606060"><u>awstats_configure.pl</u></H2></a>
<br>This script creates one config file for each web servers provided by Apache.
<br>After running this tool, AWStats can immediatly be used.<br>
<br>
-->
<br>
-<br><a name="awstats_updateall"><H2 style="font: 22px arial,helvetica,sans-serif color: #606060"><u>awstats_updateall.pl</u></H2></a>
+<br><a name="awstats_updateall"><H2 style="font: 18px arial,helvetica,sans-serif color: #606060"><u>awstats_updateall.pl</u></H2></a>
<br>awstats_updateall launches update process for all AWStats config files (except
<br>awstats.model.conf) found in a particular directory, so you can easily setup a
<br>cron/scheduler job. The scanned directory is by default /etc/awstats.
<br>
<br>
-<br><a name="awstats_buildstaticpages"><H2 style="font: 22px arial,helvetica,sans-serif color: #606060"><u>awstats_buildstaticpages.pl</u></H2></a>
+<br><a name="awstats_buildstaticpages"><H2 style="font: 18px arial,helvetica,sans-serif color: #606060"><u>awstats_buildstaticpages.pl</u></H2></a>
<br>awstats_buildstaticpages allows you to launch AWStats with -staticlinks option
<br>to build all possible pages allowed by AWStats -output option.
<br>
<br> when this option is used (need 'htmldoc').
<br>
<br>New versions and FAQ at http://awstats.sourceforge.net
-<br>
-<br>
<br>
-<br><a name="urlaliasbuilder"><H2 style="font: 22px arial,helvetica,sans-serif color: #606060"><u>urlaliasbuilder.pl</u></H2></a>
-<br>Urlaliasbuilder generates an 'urlalias' file from an input file.
-<br>The input file must contain a list of URLs (It can be an AWStats history file).
-<br>For each of thoose URLs, the script get the corresponding HTML page and catch the
-<br>header information (title), then it writes an output file that contains one line
-<br>for each URLs and several fields:
-<br>- The first field is the URL,
-<br>- The second is title caught from web page.
-<br>This resulting file can be used by AWStats urlalias plugin.
-<br>
-<br>Usage: urlaliasbuilder.pl -site=www.myserver.com [options]
-<br>
-<br>The site parameter contains the web server to get the page from.
-<br>Where options are:
-<br> -urllistfile=Input urllist file
-<br> If this file is an AWStats history file then urlaliasbuilder will use the
-<br> SIDER section of this file as its input URL's list.
-<br> -urlaliasfile=Output urlalias file to build
-<br> -overwrite Overwrite output file if exists
-<br> -secure Use https protocol
-<br>
-<br>Example: urlaliasbuilder.pl -site=www.someotherhost.com
-<br>
-<br>New versions and FAQ at http://awstats.sourceforge.net
-<br>
-<br>This script was written from Simon Waight original works title-grabber.pl.
<br>
<br>
-<br><a name="logresolvemerge"><H2 style="font: 22px arial,helvetica,sans-serif color: #606060"><u>logresolvemerge.pl</u></H2></a>
+<br><a name="logresolvemerge"><H2 style="font: 18px arial,helvetica,sans-serif color: #606060"><u>logresolvemerge.pl</u></H2></a>
<br>logresolvemerge allows you to merge several log files into one output,
<br>sorted on date. It also makes a fast reverse DNS lookup to replace
<br>all IP addresses into host names in resulting log file.
<br> Automatic detection of log format
<br> Files can be .gz/.bz2 files if zcat/bzcat tools are available in PATH.
<br>New versions and FAQ at http://awstats.sourceforge.net
+
+<br>
+<br>
+
+<br>
+<br><a name="maillogconvert"><H2 style="font: 18px arial,helvetica,sans-serif color: #606060"><u>maillogconvert.pl</u></H2></a>
+<br>maillogconvert is mail log preprocessor that convert a mail log file (from\r
+<br>postfix, sendmail or qmail servers) into a human readable format.\r
+<br>The output format is also ready to be used by a log analyzer, like AWStats.\r
+<br>\r
+<br>Usage:\r
+<br> perl maillogconvert.pl [standard|vadmin] [year] < logfile > output\r
+<br>\r
+<br>The first parameter specifies what format the mail logfile is :\r
+<br> standard - logfile is standard postfix,sendmail,qmail or mdaemon log format\r
+<br> vadmin - logfile is qmail log format with vadmin multi-host support\r
+<br>\r
+<br>The second parameter specifies what year to timestamp logfile with, if current\r
+<br>year is not the correct one (ie. 2002). Always use 4 digits. If not specified,\r
+<br>current year is used.\r
+<br>\r
+<br>If no output is specified, it goes to the console (stdout).
+
+<br>For example, the following sample from postfix mail log server:
+<br>
+<i>
+<br># 1 Mail fromuser@aol.com -> touser@toserver.com, forward touser@toserver.com -> touser@mainserver.com
+<br>Jan 01 07:27:31 apollon postfix/smtpd[1684]: connect from remt30.cluster1.charter.net[209.225.8.40]
+<br>Jan 01 07:27:32 apollon postfix/smtpd[1684]: 2BC793B8A4: client=remt30.cluster1.charter.net[209.225.8.40]
+<br>Jan 01 07:27:32 apollon postfix/cleanup[1687]: 2BC793B8A4: message-id=<36027278@vneka>
+<br>Jan 01 07:27:32 apollon postfix/qmgr[13860]: 2BC793B8A4: from=<fromuser@aol.com>, size=2130, nrcpt=1 (queue active)
+<br>Jan 01 07:27:32 apollon postfix/smtpd[1684]: disconnect from remt30.cluster1.charter.net[209.225.8.40]
+<br>Jan 01 07:27:38 apollon postfix/local[1689]: 2BC793B8A4: to=<touser@mainserver.com>, orig_to=<touser@toserver.com>, relay=local, delay=6, status=sent ("|/usr/bin/procmail")
+<br># 2 Reject: 450
+<br>Jan 01 14:05:44 apollon postfix/smtpd[2114]: connect from baby.mainframe.nl[81.29.4.2]\r
+<br>Jan 01 14:05:44 apollon postfix/smtpd[2114]: E0C9D3BD9A: client=baby.mainframe.nl[81.29.4.2]\r
+<br>Jan 01 14:05:44 apollon postfix/smtpd[2114]: E0C9D3BD9A: reject: RCPT from baby.mainframe.nl[81.29.4.2]: 450 <touser2@toserver.com>: User unknown in local recipient table; from=<> to=<touser2@toserver.com> proto=ESMTP helo=<baby.mainframe.nl>\r
+<br>Jan 01 14:10:16 juni postfix/smtpd[2568]: C34ED1432B: reject: RCPT from relay2.tp2rc.edu.tw[163.28.32.177]: 450 <unknownuser@unknownserver.com>: User unknown in local recipient table; from=<> proto=ESMTP helo=<rmail.nccu.edu.tw>
+<br># 1 From unknown
+<br>Jan 01 15:17:05 apollon postfix/smtpd[29866]: connect from tomts12.bellnexxia.net[209.226.175.56]\r
+<br>Jan 01 15:17:05 apollon postfix/smtpd[29866]: 578093B8B5: client=tomts12.bellnexxia.net[209.226.175.56]\r
+<br>Jan 01 15:17:05 apollon postfix/cleanup[28931]: 578093B8B5: message-id=<20030905131913.EOVH11393.tomts12-srv.bellnexxia.net@tomts12-srv>\r
+<br>Jan 01 15:17:06 apollon postfix/qmgr[965]: 578093B8B5: from=<>, size=109367, nrcpt=1 (queue active)\r
+<br>Jan 01 15:17:06 apollon postfix/local[32432]: 578093B8B5: to=<touser@mainserver.com>, orig_to=<touser@toserver.com>, relay=local, delay=1, status=sent ("|/usr/bin/procmail")\r
+<br>Jan 01 15:17:06 apollon postfix/smtpd[29866]: disconnect from tomts12.bellnexxia.net[209.226.175.56]\r
+</i>
+<br>
+<br>will give a file that looks like this:
+<br>
+<i>
+<br># 2004-01-01 07:27:38 fromuser@aol.com touser@toserver.com remt30.cluster1.charter.net localhost SMTP - 1 2130\r
+<br># 2004-01-01 14:05:44 <> touser2@toserver.com baby.mainframe.nl - SMTP - 450 0\r
+<br># 2004-01-01 14:10:16 <> unknownuser@unknownserver.com relay2.tp2rc.edu.tw - SMTP - 450 0\r
+<br># 2004-01-01 15:17:06 <> touser@toserver.com tomts12.bellnexxia.net localhost SMTP - 1 109367\r
+</i>
+
+<br>
+
+<br>
+<br>
+
+<br>
+<br><a name="urlaliasbuilder"><H2 style="font: 18px arial,helvetica,sans-serif color: #606060"><u>urlaliasbuilder.pl</u></H2></a>
+<br>Urlaliasbuilder generates an 'urlalias' file from an input file.
+<br>The input file must contain a list of URLs (It can be an AWStats history file).
+<br>For each of thoose URLs, the script get the corresponding HTML page and catch the
+<br>header information (title), then it writes an output file that contains one line
+<br>for each URLs and several fields:
+<br>- The first field is the URL,
+<br>- The second is title caught from web page.
+<br>This resulting file can be used by AWStats urlalias plugin.
+<br>
+<br>Usage: urlaliasbuilder.pl -site=www.myserver.com [options]
+<br>
+<br>The site parameter contains the web server to get the page from.
+<br>Where options are:
+<br> -urllistfile=Input urllist file
+<br> If this file is an AWStats history file then urlaliasbuilder will use the
+<br> SIDER section of this file as its input URL's list.
+<br> -urlaliasfile=Output urlalias file to build
+<br> -overwrite Overwrite output file if exists
+<br> -secure Use https protocol
+<br>
+<br>Example: urlaliasbuilder.pl -site=www.someotherhost.com
+<br>
+<br>New versions and FAQ at http://awstats.sourceforge.net
+<br>
+<br>This script was written from Simon Waight original works title-grabber.pl.
<br>
<br>