On Thursday 28 July 2005 04:22, Anthony Brooks wrote: > I run my own website and use webalizer and awstats to keep track of stats > and stuff. I was curious on whether I could find something like that for my > proftpd and postfix email imap server. I understand awstats will already do > that but I never did get it to work. I followed the instruction on the > awstats site but for the life of me I can't figure it out. I use pflogsumm, > which gives me a daily report of email activity but I was wanting something > more in depth like webalizer gives you. Any other programs that will give > you stats for ftp or email servers or if you got awstats to show other > data, can you please explain how you did it? Thanks.
I have awstats working with Postfix My config file is /etc/awstats/awstats.mail.conf contains the lines LogFile="perl /usr/share/awstats/tools/maillogconvert.pl standard < /var/log/mail/info|" LogType="M" LogFormat="%time2 %email %email_r %host %host_r %method %url %code %bytesd" LogSeparator=" " SiteDomain="jennings.homelinux.net" HostAliases="localhost 127.0.0.1 REGEX[^.*\.myserver\.com$]" DNSLookup="2" DirData="." DirCgi="/var/www/html/cgi-bin" DirIcons="/icon" (All other params are defaulted) I run awstats from a cron job calling /usr/share/awstats/tools/awstats_buildstaticpages.pl -update -config=mail -awstatsprog=/var/www/cgi-bin/awstats.pl -dir=/var/www/html/stats > /dev/null HTH derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
