Topic: First time user, clamav log access issues
============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 MARIADB edition.
- Linux/BSD distribution name and version: Centos 7 (from 1611 DVD version), fully updated, running on Hyper-V.
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello, I'm in the early stages of trying to replace an Exchange server running about 10 small domains with some simpler alternative. I've recently found iRedMail and thought I would to a test install to evaluate it. It's pretty good so far, but one issue I've encountered right off the bat is:
1. Install emitted errors:
[INFO ] Updating ClamAV database (freshclam), please wait...
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile - /var/log/clamav/freshclam.log).
(above retyped from a screen cap, please excuse minor typos)
2. The install seems to work in spite of the above (it's just the AV logging that's failing, right?), except that I get an email to the postmaster:
From: (Cron Daemon) <root@<myfqdn>>
To: root@<myfqdn>
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
FWIW, There is no clamav directory in /var/log, but there is an (empty) freshclam.log directly in /var/log
I followed the instructions for a plain vanilla CentOS install. I can't find anything in the install instructions about ClamAV. Has it been added recently? Or perhaps it's part of some other component, and is documented there?
I have a couple of other questions, but I'll post them separately to keep things simple.
Thanks in advance,
Paul
PS: is there a search function on this board? I tried to search for this issue, but can't see how to.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.