1 (edited by trio1234 2017-10-10 10:40:10)

Topic: <SOLVED>Error upgrading from 0.9.6 to 0.9.7 freshclam

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: devian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

*** FIX : incorrect freshclam setting ***

I put this
#UpdateLogFile ...          # <- Comment out this parameter
LogSyslog true              # <- Make sure you have this line. If not present, please add it manually.

Now i dont  have  clamav.log and freshclam.log  in logs
And   Logwatch  mail me this:


--------------------- clam-update Begin ------------------------


No updates detected in the log for the freshclam daemon (the
ClamAV update process).  If the freshclam daemon is not running,
you may need to restart it.  Other options:

A. If you no longer wish to run freshclam, deleting the log file
    (default is freshclam.log, on Debian systems
    /var/log/clamav/freshclam.log) will suppress this error message.

B. If you use a different log file, update the appropriate
    configuration file.  For example:
       echo "LogFile = log_file" >> /etc/logwatch/conf/logfiles/clam-update.conf
    where log_file is the filename of the freshclam log file.

C. If you are logging using syslog, you need to indicate that your
    log file uses the syslog format.  For example:
       echo "*OnlyService = freshclam" >> /etc/logwatch/conf/logfiles/clam-update.conf
       echo "*RemoveHeaders" >> /etc/logwatch/conf/logfiles/clam-update.conf

---------------------- clam-update End -------------------------

what is this ?
thx

----

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

2

Re: <SOLVED>Error upgrading from 0.9.6 to 0.9.7 freshclam

You can revert the changes in freshclam.conf. I updated document to mention it's RHEL/CentOS only.

3

Re: <SOLVED>Error upgrading from 0.9.6 to 0.9.7 freshclam

ZhangHuangbin wrote:

You can revert the changes in freshclam.conf. I updated document to mention it's RHEL/CentOS only.


Ok thanks!