N
nand
Guest
Hi to all,
i'm new to this forum and i'm using plesk 9 since May.
I want to Analyze my mail log with Awstats. It's possible?
I'm using Postfix
I created a copy of file /usr/local/psa/etc/awstats/awstats.MYDOMAIN.TLD-http.conf ...
and change this values:
finally I executed the cron task...
But don't work, the folder /var/www/vhosts/MYDOMAIN.TLD/statistics/mailstat is empty.
Searching in google, I found another option...
In the outpout I see something related with awstats.MYDOMAIN.TLD-http.conf,-https.conf,-anonftp.con and -ftp.conf, but nothing related to awstats.MYDOMAIN.TLD-mail.conf and the result is the same: the folder /var/www/vhosts/MYDOMAIN.TLD/statistics/mailstat remains empty.
What i'm doing wrong?
Thank's!
i'm new to this forum and i'm using plesk 9 since May.
I want to Analyze my mail log with Awstats. It's possible?
I'm using Postfix
I created a copy of file /usr/local/psa/etc/awstats/awstats.MYDOMAIN.TLD-http.conf ...
cp /usr/local/psa/etc/awstats/awstats.MYDOMAIN.TLD-http.conf /usr/local/psa/etc/awstats/awstats.MYDOMAIN.TLD-mail.conf
and change this values:
LogFile="/usr/share/awstats/maillogconvert.pl standard < /usr/local/psa/var/log/maillog |"
LogType=M
LogFormat="%time2 %email %email_r %host %host_r %method %url %code %bytesd"
DirData="/var/www/vhosts/MYDOMAIN.TLD/statistics/mailstat"
LevelForBrowsersDetection=0
LevelForOSDetection=0
LevelForRefererAnalyze=0
LevelForRobotsDetection=0
LevelForWormsDetection=0
LevelForSearchEnginesDetection=0
LevelForFileTypesDetection=0
ShowMenu=1
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
finally I executed the cron task...
/etc/cron.daily/awstats
But don't work, the folder /var/www/vhosts/MYDOMAIN.TLD/statistics/mailstat is empty.
Searching in google, I found another option...
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=MYDOMIN.TLD
In the outpout I see something related with awstats.MYDOMAIN.TLD-http.conf,-https.conf,-anonftp.con and -ftp.conf, but nothing related to awstats.MYDOMAIN.TLD-mail.conf and the result is the same: the folder /var/www/vhosts/MYDOMAIN.TLD/statistics/mailstat remains empty.
What i'm doing wrong?
Thank's!