Topic: Rules Problem logs
Hello everyone,
I have problems with this script:
Cron <www-data@ns1> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
The rules change each log rotation. Therefore, I have a large number of mails in the queue like this:
7:45 root@ns1 ~ # postcat -q 49018292293
*** ENVELOPE RECORDS deferred/4/49018292293 ***
message_size: 1406 215 1 0 1406
message_arrival_time: Tue Sep 27 01:30:03 2011
create_time: Tue Sep 27 01:30:03 2011
named_attribute: rewrite_context=local
sender_fullname: CronDaemon
sender: www-data@mail.domain.com
original_recipient:
recipient: www-data@mail.domain.com
*** MESSAGE CONTENTS deferred/4/49018292293 ***
Received: by mail.domain.com (Postfix, from userid 33)
id 49018292293; Tue, 27 Sep 2011 01:30:03 +0200 (CEST)
From: root@mail.domain.com (Cron Daemon)
To: www-data@mail.domain.com
Subject: Cron <www-data@ns1> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
Content-Type: text/plain; charset=UTF-8
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: <20110926233003.49018292293@mail.domain.com>
Date: Tue, 27 Sep 2011 01:30:03 +0200 (CEST)
Create/Update database for config "/etc/awstats/awstats.web.conf" by AWStats version 6.95 (build 1.943)
From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission non accordée
Setup ('/etc/awstats/awstats.web.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.95 (build 1.943)
From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission non accordée
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
*** HEADER EXTRACTED deferred/4/49018292293 ***
*** MESSAGE FILE END deferred/4/49018292293 ***
you know how to settle this problem?
Thank you in advance
==== Provide basic information to help troubleshoot ====
- iRedMail version: iRedAdmin-0.1.6
- Linux/BSD distribution name and version: debian 6
- Any related log? Log is helpful for troubleshooting.
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.