Who is Chirpy? ConfigServer Services
cPanel Server Services from Way to The Web Ltd
 
Home Site Blog Services Support Terms & Conditions Privacy Policy Contact Us
cPanel Server Services
cPanel MailScanner Service
Server Recovery Service
Anti-Spammer/Exploit Service
General Server Management
Services FAQ
cPanel MailScanner Front-End
 
ConfigServer Scripts Forum
ConfigServer Firewall
ConfigServer Explorer
ConfigServer Mail Queues
ConfigServer Mail Manage
 
Why you should use :fail:
Searching for Spammers
Latest Vulns & Viruses
 
Free MailScanner Installer
Free Exim Dictionary Attack ACL
Free ClamAV install for MS
Upgrading MS and ClamAV
Rvskin MS integration
 
Way to the Web Limited

cPanel MailScanner Install/Upgrade Package

Please read this whole page before downloading the package

Through our experience of installing, configuring and upgrading MailScanner for many clients we have decided to publish our scripts that can be used to:

  • Install MailScanner
  • Upgrade an existing MailScanner installation (that resides in /usr/mailscanner/)
  • Upgrade an existing MailScanner installation (and use a clean installation of the files)
  • Uninstall MailScanner

For upgrades and uninstallation, this package will only work with MailScanner installation installed either from this package or from the old cPanel layer1 MailScanner installation script.

The package configures MailScanner with sensible options that will minimize impact on server performance. Do be aware, through, that high email traffic volumes will inevitably cost something in server performance. There are a few additional steps that you can take to minimize this:

  • Don't use the Default Address (this will help limit exposure to dictionary attacks). Instead create Forwarders to your Mail Accounts for all addresses that you actually use. Do note that if you do this the main account email address will no longer work (quirk of cPanel). To use it, you need to create an actual Mail account called username@yourdomain.com and use that for POP3 access.
  • Use :fail: instead of :blackhole: for your Default or any other Address where you want delivery to fail. This causes email delivery to stop at an early stage (RCPT) before the email actually gets onto your server. You can do this easily system wide with the following command:
    replace :blackhole: :fail: -- /etc/valiases/*

While we're not aware of any significant bugs, there's no guarantee or warranty provided with the script. We also do not provide any support for it. If you require support and contact us, there may be a charge for any work or advice provided. If you want support, we offer a cheap package to do it all for you, and more, over here.

You use it at your own risk*

This script has only been tested on the following platforms:

Redhat Enterprise (3/4/5), CentOS (3/4/5) or Fedora Core (1/2/3/4/5/6/7). It cannot be performed on servers running RedHat 9 or older, Trustix, FreeBSD, or SUSE

Script installation

  1. If you have the cPanel Clamavconnector installed (WHM > Add-on Modules) remove it - it will break MailScanner
  2. Login to your root account on your server via SSH
  3. Download the package, expand it and go into it:
    wget http://www.configserver.com/free/msinstall.tar.gz
    tar -xzf msinstall.tar.gz
    cd msinstall/
  4. Follow the instructions in the README.txt and INSTALL.txt files in the package
  5. Please note that the script currently is configured to download the latest MailScanner at the time of writing. If you want a different version, edit msinstall.pl and modify the $mailscanner variable appropriately
  6. Once installed/upgraded/uninstalled make sure that both MailScanner is running correctly and that exim is sending and receiving emails (you should use 2 separate SSH windows to do this):
    tail -f /var/log/maillog
    tail -f /var/log/exim_mainlog
  7. Add anti-virus scanning with ClamAV to MailScanner here
  8. Subscribe to our blog to be notified about updates

While we are happy to provide these scripts for free, we are a small outfit that runs on a slim margin. If you do decide to use them, we'd be eternally grateful for any donation you think might express your gratitude so that we can continue to develop and provide them:

 


(You are free to cancel at any time)

That's it. If you don't feel confident doing any of this yourself, or if you get into a horrible mess, we offer a cheap package to do it all for you, and more, over here.

* While we endeavour to configure MailScanner to be as efficient as possible, the application inevitably uses server resources. Due to this additional load, we recommend caution when installing MailScanner on a server with very high email throughput which has less than 1GB of memory.


©1998-2007, Way to the Web Limited
ConfigServer, Way to the Web, WebUMake and WebUMake Hosting are trademarks of Way to the Web Limited