Configure ClamAV in WHM/cPanel for scan malware in emails

Posted September 15, 2020 2k views


I have server with ClodLinux + WHM/cPanel. I have some questions for configure correctly ClamAV and scan the email malware:

1- I installed ClamAV since WHM plugins, I need do anything for Exim scans malware in emails with clamd?. Or this is automatic?.

2- ClamAV is update automatically when update WHM/cPanel?, or I need do anything for update ClamAV?.

Thank you very much. Have a nice day.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @computereleon

You can check this previously asked question in the cPanel forum:

After installing ClamAV for cPanel, you will probably need to take some further steps for full functionality.

Go to WHM >> Service Configuration >> Exim Configuration Manager > Basic Editor > Security .... and enable (switch ON) the following:

Scan messages for malware from authenticated senders (exiscan).
If you have the ClamAVconnector plugin installed, messages from authenticated senders are not scanned until you enable this option. It is recommended that you scan mail for authenticated senders when possible to reduce the risk of viruses spreading inside your network.​

Scan outgoing messages for malware
If you have the ClamAVconnector plugin installed, enabling this option will reject mail bound for non-local domains that test positive for malware.

Hope that this helps!

  • Thank you very much, you are the best.

    I have a last question: in mentioned options says I need have installed “ClamAVconnector”.

    The “ClamAVconnector” is “ClamAV for cPanel”?, or is other plugin?.

    Thank you again!

    • Hi, @computereleon

      It is basically the same product. Usually you will navigate in WHM to Plugins.“ Check the box next to "clamavconnector” and click save at the bottom of the page. This will install ClamAV.

      Hope that this helps!