Calculate statistics from your Qmail logfiles using Awstats: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(init) |
K (typo) |
||
Zeile 17: | Zeile 17: | ||
You can take a look at its output by executing the following command :<br> | You can take a look at its output by executing the following command :<br> | ||
<source>/usr/share/doc/awstats/examples/maillogconvert.pl vadmin /var/log/qmail/qmail.log</source> | <source lang="bash">/usr/share/doc/awstats/examples/maillogconvert.pl vadmin /var/log/qmail/qmail.log</source> | ||
[[ | [[Category:Linux]] [[Category:Mail]] [[Category:QMail]] [[Category:WWW]] | ||
[[ | |||
[[ | |||
[[ |
Version vom 30. Januar 2011, 18:03 Uhr
found on http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/
Awstats is a commonly used program to calculate web statistics from your webserver logfiles. It can detect useragents, referers, unique visitors… But one of its another feature is to build usage reports from your mail server’s logfiles, as seen on this demo.
Here is how to quickly configure Awstats to take profit of your Qmail log files…
First of all, you need to convert your /var/log/qmail/current file to make it readable to Awstats.
cat /var/log/qmail/current |tai64nlocal >/var/log/qmail/qmail.log
Hopefully, a tool is provided with the awstats package : /usr/share/doc/awstats/examples/maillogconvert.pl
You can take a look at its output by executing the following command :
/usr/share/doc/awstats/examples/maillogconvert.pl vadmin /var/log/qmail/qmail.log