Starting from version 9.8, MailSuite Pro is available as a native .DEB package which can be installed on any modern Ubuntu or Debian compatible Linux distribution. The recommended approach is to install the product from our APT repository.
The package has been tested with the following operating systems: Ubuntu Linux 20.04, 22.04, 24.04, 24.10; Debian Linux 11 and 12; Linux Mint 21.3 and 22; MX Linux 23.3.
If you're running a different modern Ubuntu/Debian-based distribution and encounter any issues with it, please let us know via HelpDesk.
NB: Make sure you're installing the product onto a blank Linux system without any kind of hosting control panel software, web/mail/database servers running there.
Installing from repository
All the commands need to be performed either as root user or as super user. On Debian, you may need to install a few prerequisites first:
apt install curl gnupg
Add the repository to your system as follows:
echo "deb http://apt.afterlogic.com/stable /" > /etc/apt/sources.list.d/afterlogic.list
curl -s http://apt.afterlogic.com/afterlogic.asc | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/afterlogic.gpg --import
chmod 644 /etc/apt/trusted.gpg.d/afterlogic.gpg
Update your repository cache with:
apt update
And install the package - all the dependencies will be installed automatically:
apt install mailsuite-pro
Manual installation
Alternately, the package can also be installed manually by downloading it from our website. Before doing so, however, you would need to install the dependencies manually as well:
apt update
apt install dovecot-core dovecot-imapd dovecot-lmtpd dovecot-managesieved dovecot-mysql dovecot-pop3d dovecot-sieve dovecot-solr exim4-base exim4-config exim4-daemon-heavy exim4 spamassassin nginx sudo python3-mysqldb mysql-server php-cli php-curl php-common php-fpm php-gd php-json php-mbstring php-mysql php-opcache php-readline php-xml
wget https://afterlogic.com/download/mailsuite-pro.deb
dpkg -i ./mailsuite-pro.deb
Installing a legacy package
Prior to version 9.8, the product was available as Ansible installer, and we still offer it as a legacy edition. This installation method requires Ubuntu 22.04 and is not guaranteed to work on any other system.
- Download the installer:
curl https://afterlogic.com/download/aurora-products-mta-installer.tar.bz2 -o aurora-products-mta-installer.tar.bz2
- Install the prerequisites:
sudo apt install ansible unzip bzip2 -y
- Unpack the installer:
tar jxvf aurora-products-mta-installer.tar.bz2
chmod 0755 -R ./aurora-products-mta-installer
cd aurora-products-mta-installer/
- Start the installation process:
sudo ansible-playbook install.yml
Installing antivirus package
MailSuite Pro all-in-one package can be integrated with ClamAV antivirus, but due to its high resource usage, antivirus isn't included in the package. You can install it additionally, just make sure your system has 4Gb RAM or more.
curl -O https://afterlogic.com/download/add-clamav-ubuntu.tar.bz2
tar jxvf add-clamav-ubuntu.tar.bz2
cd add-clamav-ubuntu/
sudo ansible-playbook install-clamav.yml
Finalizing the installation
Once the installation is completed, you should be able to access the web interface via URL of the server with /adminpanel/
appended to it and proceed with configuring the product. Default admin login is superadmin, with an empty password.
Make sure you have primary hostname of your mailserver installation specified in /etc/exim4/exim4.cnf
file, e.g.:
primary_hostname = yourdomain.com
Restart Exim service to apply changes:
service exim4 restart