Mailspect Documentation
RedHat/CentOS/Fedora Linux


Use YUM to install MPP and MPP Manager

For RedHat/CentOS 5.x/6.x/7.x distributions you can use YUM install for MPP / MPP Manager.

Before starting installation please disable SELinux and reboot the system:

  • edit /etc/selinux/config
  • set SELINUX=disabled
  • reboot

1) Install the Mailspect repository.

  • Linux/i386:
rpm -Uvh
  • Linux/x86_64:
rpm -Uvh 

2) Install the RPMForge repository. RPMForge repository must be also available for Perl packages required by MPP Manager

  • Linux EL 5/i386:
rpm -Uvh
  • Linux EL 6/i386:
rpm -Uvh
  • Linux EL 5/x86_64:
rpm -Uvh
  • Linux EL 6/x86_64:
rpm -Uvh
  • Linux EL 7/x86_64:
rpm -Uvh

Please ignore that warning about non installed key:

warning: /var/tmp/rpm-xfer.0KDH7U: Header V3 DSA signature: NOKEY, key ID dacd2f97

3) install MPP and MPP Manager

yum update
yum install mpp
yum install mppmanager

or just

yum update
yum install mppmanager

On RedHat / CentOS 6/7 additional steps are required:

1. yum install perl-Time-HiRes perl-CGI perl-class-ISA
2. stop firewall (/etc/init.d/iptables stop) or permit access to ports 20000/20001 using system-config-network-tui

For security reasons, Mailspect MPP GUI is available on localhost:20001. If you would like to access the GUI remotely, please edit /etc/mppserver/mppserver.conf and set "host" value with appropriate hostname/IP or special character *, then restart mppserver service:

/etc/init.d/mppserver restart

Download and install latest Mailspect RPM

If YUM install cannot be used, you can ask for MPP RPM for your Linux distribution from

Install MySQL Server and Client version 5 or higher for dynamic spam settings, email archive or spam quarantine

Setup MTA interoperability and scanners.


Install Mailspect Manager (mppmanager)

MPP Manager and dependencies can be installed manually if YUM is not an option. Before installing Mailspect Manager we are going to install the following requirements:

- libexpat
- libgd
- MySQL client (libmyclient(_r).so)
- Perl modules
   1.  DBI
   2.  DBD::MySQL
   3.  XML::Parser
   4.  XML::Generator
   5.  MIME::Tools
   6.  GD::Graph
   7.  URI
   8.  Net::SSLeay
   9.  Crypt::OpenSSL::DSA

Certain updates are not available through RedHat Network Update (up2date or yum). For this reason I have used DAG repository ( to install:

perl-MIME-tools and perl-GD-Graph (along with their dependencies)


rpm -Uhv (RH / CentOS 5)
rpm -Uvh (RH / CentOS 6)


rpm -Uvh (RH / CentOS 5)
rpm -Uvh (RH / CentOS 6)
rpm -Uvh (RH / CentOS 7)
yum update 
up2date -u

yum install gd gd-progs perl-DBI perl-URI mysql mysql-devel mysql-server perl-DBD-MySQL perl-XML-Parser \ 
perl-Net-SSLeay perl-MailTools perl-MIME-tools perl-GD perl-GD-Text-Util perl-GD-Graph perl-Crypt-OpenSSL-DSA \
perl-OODoc perl-Crypt-Blowfish perl-Time-HiRes perl-CGI antiword poppler-utils

After modules are installed install latest Mailspect Manager from here:

wget -c
tar xzvf mppmanager.tar.gz
cd mppmanager

Setup databases and basic config

Create an empty database in MySQL and grant access to a user
Login to http://yourserver:20001   (admin/raempp is default)
Setup Widgets - Run the appropriate widget to setup quarantine or archive.

Configure Quarantine/Archive Access

Login to http://yourserver:20000 as admin

Configure quarantine or archive access by defining authentication for the domain
Set a default domain, now all domains can use these settings
Only define admin or special users here, no need to define end-users in most cases
Define a domain admin - Set user type as quarantine domain admin, set domains they have permissions for
Change the admin password - In Users, select admin and change PW.
Setup->Sphinx Search
Install Sphinx and create content databases from here
Configure digest reminders, purge and statistics updates
Configure Statistics Updates