- You will need a Postfix server (it should work well with v 2.11 or above) and a PostgreSLQ (v 9.0 or above)
- Install the fluentd script (
td-agent
version)- Download and install [fluentd plugin postgres] (https://github.com/uken/fluent-plugin-postgres).
- Get my
td-agent.conf
and put it in/etc/td-agent/
- Put
out_postgres.rb
file in/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-postgres-0.0.1/lib/fluent/plugin
- You will need a PostgreSQL server
- Install the
smtpapps-script.sql
- Install the
- Please rename and put the
config.ini-example
file outside your apache document root. - Edit and set the path to the config file in
session_start.php
file.
The script does a (daily) check of undelivered mails and then sends a mail with the results.
- Put the file into a directory.
- Edit the file and set the path to the GUI config file.
- Run
sudo crontab -e
- Add the lines:
# Comprobación diaria de errores en e-mails
0 7 * * * /usr/bin/php /path-to-the-file/resumen-diario.php > /dev/null 2>&1
- fluentd script powered by @uke annd their [fluentd-plugin-postgres] (https://github.com/uken/fluent-plugin-postgres).
- Form powered by [phpFormGenerator] (http://phpformgen.sourceforge.net).