WebMail Pro can be automatically installed and configured on Ubuntu Linux, Debian Linux or any compatible Linux distribution.
It was tested on: Ubuntu 20.04, Ubuntu 22.04, Debian 10 and 11. It should also work on Linux Mint as well as other compatible flavors of Linux, as long as those provide the following dependencies: Nginx, PHP 7.4 or newer, MySQL 5.7.8 or newer / MariaDB 10.2.7 or newer, with mysqlnd driver.
In case if any components are not detected on the system, they will be automatically deployed from OS repository as dependencies.
Unlike the Apache package, this one provides an installer with command-line interface. You'll be able to select a product, install, upgrade or remove the installation with simple commands.
Configuring repository access
To have the product installed, edit
/etc/apt/sources.list file and add the following line to it:
deb http://apt.afterlogic.com/stable /
All the commands mentioned below must be run with superuser privileges. If you’re logged in as regular user, use su command on Debian or sudo su on Ubuntu to get full privileges. In case of Ubuntu, you can add sudo in front of a single command to get superuser privileges temporarily.
Install public PGP key using the following command:
wget -qO - http://apt.afterlogic.com/afterlogic.asc | apt-key add -
To do that, on some systems you may need to install gnupg tool first:
apt install gnupg
Update APT cache with:
Installing the package
To install the product package, run the following command:
apt install afterlogic-nginx
This will deploy the installer. Now start the installation with:
Once WebMail Pro is installed, it can be accessed at
http://ServerIP/afterlogic/ address. Nginx configuration file is automatically placed under
/etc/nginx/sites-available/afterlogic.conf, feel free to reconfigure web server to offer access via domain or subdomain. The product itself resides under
To configure the installation, you can log into /adminpanel/ as superadmin user, default password is empty.
Upgrading the product installation
Run the following command:
The installer will check if new version is available - and if it is, it will be downloaded and installed, preserving the product configuration.
Uninstalling the product
To uninstall the product completely, run the following command:
Note that removing the installer package will not delete the product installation itself, just the installer will be removed. After removing the product, you can remove the installer with:
apt purge afterlogic-nginx