Install the Free ConfigServer MailScanner on cPanel Server


This article provides a guide for how to install the free ConfigServer MailScanner on cPanel server.

What is MailScanner?

MailScanner is an open-source email security system which scans for viruses, spam, malware, phishing, and dangerous html in emails.

How to Install the Free ConfigServer MailScanner on cPanel Server

To install the free ConfigServer MailScanner on cPanel server, follow the steps provided:

  1. Login as root via SSH terminal.
  2. Download the installer, expand it and go into it:
    wget https://download.configserver.com/msinstall.tar.gz 
    tar -xzf msinstall.tar.gz
    cd msinstall/
  3. Download the tarball:
    cd /usr/src
    rm -fv msinstall*
    wget https://download.configserver.com/msinstall.tar.gz
    tar -xzf msinstall.tar.gz
    cd msinstall/
    sh install.sh
    /usr/mscpanel/mscheck.pl
    /usr/msfe/msrules.pl -i
  4. Disable the following options in WHM:
    1. WHM > Tweak Settings > Uncheck "Apache SpamAssassin Spam Filter" and "Apache SpamAssassin Spam Box"
    2. WHM > Service Manager > Uncheck both boxes for "Apache SpamAssassin" and click "Save"
  5. MailScanner can be configured by editing the file /usr/mailscanner/etc/MailScanner.conf or via the ConfigServer MSFE UI. Be sure to restart MailScanner after making modifications to this file.
  6. If purchased, install MSFE:
  7. Modify /etc/csf/csf.pignore and add:
    pcmd:MailScanner:.*
  8. Restart lfd:
    service lfd restart
  9. Please note that the script uses a stable version of MailScanner which might not be the very latest from the developer.
  10. Once installed/upgraded/uninstalled, make sure that MailScanner is running correctly and that exim is sending and receiving emails, by tailing the appropriate log files:
    tail -f /var/log/maillog
    tail -f /var/log/exim_mainlog

Conclusion

You now know how to install the free ConfigServer MailScanner on cPanel server.

  • mailscanner, cpanel, email security, spam prevention, configserver
  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

Related Articles

Video: Create Email Address in cPanel

This video tutorial demonstrates how to create an email address using cPanel Shared Hosting...

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

How to Disable Simplified Account Creation in Outlook 2016

Summary When you configure an Office 365 account in Outlook 2016, you see the...

Install Pinguzo Client on Server

This article provides a quick and direct guide for installing the Pinguzo server monitoring...