close
Mailspect Documentation
RedHat/CentOS/Fedora Linux

Contents

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 http://yum.mailspect.com/redhat/RPMS/i386/mailspect-release-0.1-1.i386.rpm
  • Linux/x86_64:
rpm -Uvh http://yum.mailspect.com/redhat/RPMS/x86_64/mailspect-release-0.1-1.x86_64.rpm 

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

  • Linux EL 5/i386:
rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
  • Linux EL 6/i386:
rpm -Uvh http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
  • Linux EL 5/x86_64:
rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
  • Linux EL 6/x86_64:
rpm -Uvh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
  • Linux EL 7/x86_64:
rpm -Uvh http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm


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

http://www.mailspect.com/schedule-your-trial-set-up/

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

Setup MTA interoperability and scanners.

/usr/local/MPP/scripts/configure.pl

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 (http://dag.wieers.com/rpm/FAQ.php#B) to install:

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

Linux/i386:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.i386.rpm (RH / CentOS 5)
rpm -Uvh http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm (RH / CentOS 6)

Linux/x86_64:

rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm (RH / CentOS 5)
rpm -Uvh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm (RH / CentOS 6)
rpm -Uvh http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm (RH / CentOS 7)
yum update 
or
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 ftp://ftp.mailspect.com/pub/mppmanager/beta/mppmanager.tar.gz
tar xzvf mppmanager.tar.gz
cd mppmanager
./setup.pl

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

Setup->Domains
Configure quarantine or archive access by defining authentication for the domain
Set a default domain, now all domains can use these settings
Setup->Users 
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
Maintenance
Configure digest reminders, purge and statistics updates
Configure Statistics Updates