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:

Note
You can configure Warden so that mail is still accepted when the ClamAV daemon is down. Under Warden -> Settings -> AV Milter Settings -> Actions -> Change the On fail option to Accept. Press the restart button to restart the ClamAV milter.

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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why isn't autolearning working for me (autolearn=no) ?

Lots of people seem to be confused by the "autolearn=no" statement in the default X-Spam-Status...

I get the a 502 gateway error when clicking on the application. How can I fix this?

This can usually be fixed by just restarting the Plesk interface:/etc/init.d/psa restart

How can I fix the error WARNING: Ignoring deprecated option AllowSupplementaryGroups after upgrading to ClamAV 1.00?

The AllowSupplementaryGroups option was deprecated in ClamAV 1.00. If this option is present in...

How can I fix the error: spamass-milter[27944]: Could not extract score from <> ?

When you look at your email log you see: spamass-milter[27944]: Could not extract score from...

How can I stop encrypted archives from being allowed though ClamAV?

For ClamAV 0.100 and belowUnder Warden -> Settings -> Scanning Settings -> Block...