CyberHosting

Can we have ClamAV & MailScanner in CyberPanel

Hello CyberPanel dev team,

I appreciate your hard work for building such a great panel. I would like to thank whole team behind CyberPanel.

I know that there is imunify360 in CyberPanel but It only works with cloudlinux os. imunify360 & cloudlinux has its own pricing which is quite expensive for someone like me. I hope many people using CyberPanel will agree on this.

Is it possible to have MailScanner and ClamAV antivirus in CyberPanel dashboard?

Thank you very much in advance.

@CyberPanel @usmannasir

Comments

  • I created the installer already just completing CP page(s)

    https://github.com/usmannasir/cyberpanel/blob/v2.0.1/CPScripts/mailscannerinstaller.sh

    Myself and @whattheserver are making more additions/changes so wait for release is my recommendation. If you install now and break something....its for you to resolve!
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • @hennaboy @whattheserver Thank you very much. I will wait for MailScanner as I do not wish to break anything.

    How about ClamAV henna?
  • If there is ever a ClamAV installation in CyberPanel then I think that it should be off by default and an option to enable.

    ClamAV has a tendency to just much up massive amounts of memory.
    S-4.host - Sustainable, Secure, Speedy and Stable WP hosting built on Litespeed Ent. and Cyberpanel
  • Mailscanner has clamav as part of the installation.

    Not witnessed any high usage of clamav in this manner as its on demand email scanning not a continuous use.

    Perhaps it may use large memory if used in the manner that cPanel does and have it scan website files and directories.
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • ok. I am not sure how MailScanner and ClamAV work together. This is important. You guys know this better.

    Actually I was asking CalmAv as a feature to scan files, directories on-demand and on schedule basis. I do not have much experience in using any of these so I am not sure about the resource consumption.

    I am not sure how exactly ClamAV can be integrated with Cyberpanel. But if we can have that we can run it to scan files on-demand & schedule to run it when we have a low load in our server. If someone does not wish to run CalmAv they can simply disable it. How do this sound?

    Examples: We have ClamAV to scan files in Directadmin. Fast Panel https://fastpanel.direct/ has AI-BOLIT .

    This is just my personal opinion. I will definitely welcome judgements and opinions from amazing peoples/devs behind CP.
  • This wouldnt occur with the mailscanner installation it is purely to scan for infected email and email attachments.

    There is a plan to involve clamav with virus scanning files and directories. But I cannot give any eta or further information on it.
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • Running as on demand scanner is fine, but if ClamAV is running as a daemon uses a lot of RAM.

    If you take a look at the forums of mail server software like modoboa or iredmail then you will find a lot of discussions about the amount of memory ClamAV is using.
    S-4.host - Sustainable, Secure, Speedy and Stable WP hosting built on Litespeed Ent. and Cyberpanel
  • Sounds cool Henna. No Hurry, I understand completely. I am personally happy if there is a plan to add ClamAV in future updates.

    @S4_Hosting I agree with you too. An on-demand scan is more than enough. We do not need CalmAV to run as a daemon.

    Or, this also could be the option. Keep ClamAV as option/plugin or build-in functionality. Let user, install/activate from CP dashboard & let the user choose if they wish to use ClamAV as a daemon or just on-demand scan.

    Guys do you agree?
  • mailscanner will be optional install. If you wish to use a different virus scanner for Mailscanner then you will need to do this yourself.
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • Yeah they do have a point on larger multi-user servers with tons of files having it as a daemon can increase load but that is something the admin of that server should configure as needed. As its an optional thing it shouldn't break things out of the box.

    Having a way to easily configure and renice it though might not be a bad idea so if loads high it renices and cpulimits the process.
    https://askubuntu.com/questions/21056/can-i-limit-the-cpu-usage-of-a-single-application
  • @whattheserver said:
    > Having a way to easily configure and renice it though might not be a bad idea so if loads high it renices and cpulimits the process.

    Sounds like an excellent idea :-)
    S-4.host - Sustainable, Secure, Speedy and Stable WP hosting built on Litespeed Ent. and Cyberpanel
  • I understand. However, most startup hosts only purchase the cheapest server option and stick 100+ sites on it on the basis of well x amount will only use a small amount of resources.

    Personally I always buy a server that is more powerful than I will require. Which means that I can be fully protected at all times and don't have to be concerned about how much cpu clamav uses when scanning emails ;)
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!