1

Topic: Automatic emails from Awstats

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.10
- Related log if you're reporting an issue:
====

Hello everybody,

I have installed the last version of iRedMail, I just receiving strange email from server.

SUBJECT:
Cron <www-data@mail> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh

CONTENT:
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).

FROM:
root@mail.mydomain.net

I did not touch anything about Awstats, but it seems to works good because I can connect to: https://mail.mydomain.net/awstats/awsta … onfig=smtp

So, what are those emails?
Thank you in advance!

2

Re: Automatic emails from Awstats

*) You should disable this cron job under /etc/cron*.
*) iRedMail already have cron jobs to update Awstats.

3

Re: Automatic emails from Awstats

ZhangHuangbin wrote:

*) You should disable this cron job under /etc/cron*.
*) iRedMail already have cron jobs to update Awstats.

Ok I do that, but Why this "SiteDomain" error?
As I told previously I did not touch anything about Awstats configuration.

4

Re: Automatic emails from Awstats

Default Awstats cron job uses different config file, but iRedMail doesn't config it. that's why.

5

Re: Automatic emails from Awstats

ok, thank you so mcuh!