1

Topic: Mail message from system "awstats" error

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: Ubuntu 16.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:

root@mx:~# mail -f
"/root/mbox": 1 message 1 new
>N   1 Cron Daemon        Thu Feb 16 18:10  23/1052  Cron <www-data@mx> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
?
Return-Path: <www-data@mx.blabla.com>
X-Original-To: root
Delivered-To: root@mx.blabla.com
Received: by mx.blabla.com (Postfix, from userid 33)
    id 9BF8541A96; Thu, 16 Feb 2017 18:10:01 +0000 (UTC)
From: root@mx.blabla.com (Cron Daemon)
To: root@mx.blabla.com
Subject: Cron <www-data@mx> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/www>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=www-data>
Message-Id: <20170216181001.9BF8541A96@mx.blabla.com>
Date: Thu, 16 Feb 2017 18:10:01 +0000 (UTC)

Error while processing /etc/awstats/awstats.conf
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

====

So kept having this message pop up everytime I logged in via SSH saying "You have Mail". Ran a command and needed to install mailutils so I did, Upon reading this system message (using #mail -f) it contained the above. Now the mail server has been working perfectly for the last few weeks/month, and I received this as soon as I set the server up which was back in February! Any idea what this may mean/do? Thanks guys <3

----

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

2

Re: Mail message from system "awstats" error

Please follow the guide in email to fix it. Check "SideDomain" parameter, check file permission, etc. I cannot figure it out with this mail message.

BTW, you'd better add an alias entry in /etc/postfix/aliases, so that this email will be forwarded to root user (which is supposed to have an entry in /etc/postfix/aliases too like this: "root: xx@xxx.com")