Results 1 to 3 of 3
Hello,
I installed awstats and configured it to stat a Postfix mail server activity.
Works fine but I only get number of emails sent and received.
Is it possible to ...
- 06-18-2009 #1Linux Newbie
- Join Date
- Dec 2008
- Location
- Luxembourg
- Posts
- 130
awstats : postfix mail server figures
Hello,
I installed awstats and configured it to stat a Postfix mail server activity.
Works fine but I only get number of emails sent and received.
Is it possible to obtain finest data, especially emails snet / received by user ?
Thanks for attention.
Bye,
Bruno
My (partial) current config is :
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"
LevelForBrowsersDetection=0
LevelForOSDetection=0
LevelForRefererAnalyze=0
LevelForRobotsDetection=0
LevelForWormsDetection=0
LevelForSearchEnginesDetection=0
LevelForFileTypesDetection=0
ShowMenu=1
ShowSummary=HB
ShowSummary=HB
ShowMonthStats=HB
ShowDaysOfMonthStats=HB
ShowDaysOfWeekStats=HB
ShowHoursStats=HB
ShowDomainsStats=0
ShowHostsStats=HBL
ShowAuthenticatedUsers=0
ShowRobotsStats=0
ShowEMailSenders=HBML
ShowEMailReceivers=HBML
ShowSessionsStats=0
ShowPagesStats=0
ShowFileTypesStats=0
ShowFileSizesStats=0
ShowBrowsersStats=0
ShowOSStats=0
ShowOriginStats=0
ShowKeyphrasesStats=0
ShowKeywordsStats=0
ShowMiscStats=0
ShowHTTPErrorsStats=0
ShowSMTPErrorsStats=1
- 06-19-2009 #2
IMO, here is the best way to get logs for postfix
Postfix Monitoring With Mailgraph And pflogsumm | HowtoForge - Linux Howtos and Tutorials
I didn't really care about the mailgraph so I just use pflogsumm on its own and it sounds very much like what you want, fine grained reports.
- 06-19-2009 #3Linux Newbie
- Join Date
- Dec 2008
- Location
- Luxembourg
- Posts
- 130
Cheers. Indeed result looks good.
Also they're packaged under Debian which is my distro, so also convenient to install.
Bye,
Bruno


Reply With Quote