How can I fix the error: "milter-reject: END-OF-MESSAGE from..." in the log and found the AV in error (cannot read /etc/clam.d/scan.conf).

Cloudlinux / Imunify360 added their own version of ClamAV to their repo which accidentally replaces the EPEL version of ClamAV required by Warden. To Fix:

Remove the Imunify360 ClamAV

rpm -e --nodeps clamav clamav-data clamav-filesystem clamav-lib clamav-update clamav-server

Exclude their ClamAV packages from Yum

Add the line exclude=clam* to the [imunify360] repo section in the file /etc/yum.repos.d/imunify360.repo or /etc/yum.repos.d/cloudlinux-imunify360.repo (if they exist). After it should look something like this (do not use our example as it will vary from system to system):

[imunify360]
name=EL-7 - Imunify360
baseurl=https://repo.imunify360.cloudlinux.com/defense360/el/7/updates/x86_64/
username=defense360
password=XXX
enabled=1
gpgcheck=1
gpgkey=https://repo.imunify360.cloudlinux.com/defense360/RPM-GPG-KEY-CloudLinux
exclude=clam*

In Warden go to Settings -> Application setup and go though the Warden Setup Wizard again to re-run the product installer (applying the default settings to the Antivirus pages) to re-apply the correct settings that were replaced by the Immunify360 ClamAV.

If you still have trouble don't hesitate to open a ticket to have a support technician fix this for you.

  • cloudlinux, imunify360
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How can I view what SpamAssassin rules were matched by a message?

Go to Warden -> Settings -> Filter Settings and change the Log template option from short...

How do I allow or deny certain attachments with Amavis?

In Amavis banned attachments are controlled by the $banned_filename_re option in the Amavis...

How can I disable the ***UNCHECKED*** tag that Amavis applies to a message when an email is not able to be scanned?

Amavis will prepend to Subject (for local recipients only) if mail could not be decoded or...

How can I test that the Anti-spam and Anti-virus is working?

How to test SpamAssassin To test the spam filter, it is necessary to send a Gtube test spam...

How do I fix the error: Mysql Server has gone away?

When looking at the mail log of the server you see this log entry from Amavis: Aug 3 01:00:20...