How to install MailScanner in CPanel


If you have the cPanel Clamavconnector installed (WHM > Add-on Modules) remove it – it will break MailScanner.

Login to server via SSH now.

Download the package using the below link:


Untar the package using the below command.

tar -xzf msinstall.tar.gz

go inside the folder.

cd msinstall/

run the below command to install it.


It will show the below output.

root@server [/usr/local/src/msinstall]# sh

Installing MailScanner service into /etc/init.d/ …

`MailScanner’ -> `/etc/init.d/./MailScanner’
mode of `/etc/init.d/MailScanner’ changed to 0700 (rwx——)

Performing MailScanner installation/upgrade…
MailScanner Installation/Upgrade Script

It will ask the below details.

1 New installation – full perl module installation
2 New installation – quick perl module check

9 Quit

Select option 2 for quick perl module installation.


Comments are closed.