[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: awstats: Stats for exim4 and uw-ftpd?



On Mon, 2004-04-12 at 12:00, Sven Hoexter wrote:
> On Sun, Apr 11, 2004 at 08:04:19PM -0700, Paul Johnson wrote:
> > Setting up awstats was not particularly difficult for apache, but now
> > I want to continue and set it up to give stats on exim and uw-ftpd.
> > However, I cannot find any documentation on how to do this.

I use Postfix. Your mileage on Exim might vary. I have the following in
/etc/awstats/awstats.mail.conf (i left out empty lines and comment lines
to make this email short enough. Mail me for the full file if needed:

LogFile="perl /usr/share/doc/awstats/examples/maillogconvert.pl standard
< /var/log/mail.log |"
LogType=M
LogFormat= ="%time2 %email %email_r %host %host_r %method %url %code
%bytesd"
LogSeparator=" "
SiteDomain="changethistoyourdomain.com"
HostAliases="localhost 127.0.0.1 REGEX[^.*\.myserver\.com$]"
DNSLookup=0
DirData="."
DirCgi="/cgi-bin"
DirIcons="/awstats-icon"
AllowToUpdateStatsFromBrowser=0
EnableLockForUpdate=0
DNSStaticCacheFile="dnscache.txt"
DNSLastUpdateCacheFile="dnscachelastupdate.txt"
SkipDNSLookupFor=""
AllowAccessFromWebToAuthenticatedUsersOnly=0
AllowAccessFromWebToFollowingAuthenticatedUsers=""
AllowAccessFromWebToFollowingIPAddresses=""
CreateDirDataIfNotExists=0
SaveDatabaseFilesWithPermissionsForEveryone=1
PurgeLogFile=0
ArchiveLogRecords=0
KeepBackupOfHistoricFiles=0
DefaultFile="index.html"
SkipHosts=""
SkipUserAgents=""
SkipFiles=""
OnlyHosts=""
OnlyFiles=""
NotPageList="css js class gif jpg jpeg png bmp"
ValidHTTPCodes="200 304"
ValidSMTPCodes="1"
AuthenticatedUsersNotCaseSensitive=0
URLNotCaseSensitive=0
URLWithAnchor=0
URLQuerySeparators="?;"
URLWithQuery=0
URLWithQueryWithoutFollowingParameters=""
URLReferrerWithQuery=0
WarningMessages=1
ErrorMessages=""
DebugMessages=1
NbOfLinesForCorruptedLog=50
WrapperScript=""
DecodeUA=0
MiscTrackerUrl="/js/awstats_misc_tracker.js"
LevelForSearchEnginesDetection=0
LevelForFileTypesDetection=0
UseFramesWhenCGI=0
DetailedReportsOnNewWindows=1
Expires=0
MaxRowsInHTMLOutput=1000
Lang="auto"
DirLang="./lang"
ShowMenu=1
ShowMonthStats=HB
ShowDaysOfMonthStats=HB
ShowDaysOfWeekStats=HB
ShowHoursStats=HB
ShowDomainsStats=0
ShowHostsStats=HBL
ShowAuthenticatedUsers=0
ShowRobotsStats=0
ShowEMailSenders=HBL
ShowEMailReceivers=HBL
ShowSessionsStats=0
ShowPagesStats=0
ShowFileTypesStats=0
ShowFileSizesStats=0
ShowOSStats=0
ShowBrowsersStats=0
ShowScreenSizeStats=0
ShowOriginStats=0
ShowKeyphrasesStats=0
ShowKeywordsStats=0
ShowMiscStats=ajdfrqwp
ShowHTTPErrorsStats=0
ShowSMTPErrorsStats=1
AddDataArrayMonthStats=1
AddDataArrayShowDaysOfMonthStats=1
AddDataArrayShowDaysOfWeekStats=1
AddDataArrayShowHoursStats=1
MaxNbOfDomain = 10
MinHitDomain  = 1
MaxNbOfHostsShown = 10
MinHitHost    = 1
MaxNbOfLoginShown = 10
MinHitLogin   = 1
MaxNbOfRobotShown = 10
MinHitRobot   = 1
MaxNbOfPageShown = 10
MinHitFile    = 1
MaxNbOfOsShown = 10
MinHitOs      = 1
MaxNbOfBrowsersShown = 10
MinHitBrowser = 1
MaxNbOfScreenSizesShown = 5
MinHitScreenSize = 1
MaxNbOfRefererShown = 10
MinHitRefer   = 1
MaxNbOfKeyphrasesShown = 10
MinHitKeyphrase = 1
MaxNbOfKeywordsShown = 10
MinHitKeyword = 1
MaxNbOfEMailsShown = 20
MinHitEMail   = 1
FirstDayOfWeek=1
ShowFlagLinks="en fr de nl es"
ShowLinksOnUrl=1
UseHTTPSLinkForUrl=""
MaxLengthOfURL=72
ShowLinksToWhoIs=0
LinksToWhoIs="http://www.whois.net/search.cgi2?str=";
LinksToIPWhoIs="http://ws.arin.net/cgi-bin/whois.pl?queryinput=";
HTMLHeadSection=""
HTMLEndSection=""
Logo="awstats_logo1.png"
LogoLink="http://awstats.sourceforge.net";
BarWidth   = 260
BarHeight  = 90
StyleSheet=""
LoadPlugin="userinfo"







-- 
---------------------------------------------
PingWings - Making the penguin fly
- - - - - - - - - - - - - - - - - - - - - - -
M:  06-24711729
E:  info@pingwings.nl
I:  www.pingwings.nl
---------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: