Installation instructions for the web-logui application for the Halon MTA. Please read more on https://halon.io.
- Halon MTA 5.3 or later
- PHP compatible web server (Apache, NGINX, IIS)
- PHP (>=7.1)
- Composer
- Elasticsearch (>=6.x)
- Create a database file, for example, web-logui.db, outside of the document root, and give read and write access for the file to the web server's user.
- Copy all project files to a web server directory, for example: /var/www/web-logui, and make sure that the site is configured on the chosen web server.
- Make a copy of the
settings-default.phpfile tosettings.php, and edit the latter to configure all required settings.
- $
cp ./settings-default.php ./settings.php - $
vim ./settings.php
- Run the following commands to install the database and any dependencies from the project directory:
- $
composer install - $
php -f install.db.php
- Enable the following cron script to update pending actions on emails
* * * * * /usr/bin/php /var/www/html/web-logui/cron.php.txt pending
- Enable the following cron script to send out digest emails
0 0 * * * /usr/bin/php /var/www/html/web-logui/cron.php.txt digestday
In order to start logging to Elasticsearch, please see our Remote logging to Elasticsearch article.
To enable the textlog feature, please see our Remote syslog to Logstash article.