AfterLogic WebMail Lite 8 can be automatically installed and configured on Ubuntu Linux, Debian Linux or any compatible Linux distribution.
It was tested on: Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, Ubuntu 19.10, Debian 8, Debian 9, Debian 10. It should also work on Linux Mint as well as other compatible flavors of Linux, as long as those provide the following dependencies: Apache 2, PHP 5.6+ or 7.*, MySQL 5+.
In case if any components are not detected on the system, they will be automatically deployed from OS repository as dependencies.
Configuring repository access
To have the product installed, add one of the following lines to /etc/apt/sources.list file, depending on the operating system you currently run:
For Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, Ubuntu 19.10, Debian 9, Debian 10:
deb http://apt.afterlogic.com/stable /
For Debian 8:
deb http://apt.afterlogic.com/oldstable /
If you're using a testing, unstable or derivative release and unsure which repository to use, try stable first. Configuring access to a non-matching repository will NOT break your system, the package simply will not be installed as dependencies won't be met, so just try the other repository.
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 (e.g. Debian 10) 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-lite
Once WebMail is installed, it can be accessed at http://yourdomain.com/afterlogic/ address, or http://localhost/afterlogic/ for local access.
To configure the installation, you can log in as superadmin user, default password is empty.
The product itself resides under /usr/share/afterlogic directory.
Upgrading the product installation
The product is upgraded in the standard way using APT repository. If you wish to check whether there are updates for any of the packages you have installed, run the following:
If new version is available, it will be installed, preserving the product configuration and any plugins you may have installed.
If you encounter an issue when creating tables or accessing MySQL database, there is a solution: The server requested authentication method unknown to the client
NB: Starting from 8.3.7, mod_rewrite is enabled automatically for new installs but when upgrading the package you may still need to perform the below configuration manually.
In v8.3.5, CSRF protection was substantially revised and may require web server reconfiguration. We're now shipping .htaccess file to ensure authentication headers are sent through, but if you're getting Error 500, that may mean you have mod_rewrite disabled. To correct that, run the following as super user:
service apache2 restart
And if you receive "Cookies need to be updated. To continue, please click here or reload this page." message, make sure .htaccess file is actually read by the web server. Read more on this at CSRF protection documentation page.
To uninstall WebMail Lite 8 completely, run:
apt purge afterlogic-lite
Please bear in mind that WebMail Lite 8 package cannot be installed alongside version 7.* of WebMail Lite, only one of the two packages can be installed.
If you encounter any issues, feel free to post reports at the Aurora Issue tracker.