1

Topic: problem with awstats reports !!

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version:
- iRedMail version and backend (LDAP/MySQL):
- Any related log? Log is helpful for troubleshooting.
====

Good morning

my mail log file ( /var/log/mail.log ) format just like this :


Jan 24 09:49:27 mail postfix/pipe[4966]: 46F77581EC9: to=<test@mail.test.ku>, relay=dovecot, delay=0.68, delays=0.13/0.03/0/0.52, dsn=2.0.0, status=sent (delivered via dovecot service)


I noticed that ( year number ) doesn't located in this log format .


and /etc/awstats/awstats.smpt.conf has these values :

LogFormat="%time2 %email %email_r %host %host_r %method %url %code %bytesd"

SiteDomain="mail.test.ku"                           #this is my mail virtual domain

HostAliases="localhost 127.0.0.1"


But awstats report values is just zero for all fields

Mails successfully sent    
      
      0    0
(0 KB/Mails)
Mails failed/refused    
      
      0    0

do I need to change thing in config. files ???

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: problem with awstats reports !!

Do you have cron job running well to update Awstats report? You can find two Awstats related cron jobs with command:

# crontab -l -u root