An open API service indexing awesome lists of open source software.

https://github.com/zewish/php-postfix-maillog-importer

Simple command-line utility to import Postfix mail.log files into database storage (MongoDB or MySQL/MariaDB)
https://github.com/zewish/php-postfix-maillog-importer

Last synced: 8 months ago
JSON representation

Simple command-line utility to import Postfix mail.log files into database storage (MongoDB or MySQL/MariaDB)

Awesome Lists containing this project

README

          

## Postfix Mallog Parser And Importer Written in PHP
This is a simple command-line utility that when used will import the statuses of the Postfix messages queued on your email server.

The application can be used to parse the lines of the mail.log file and import them into a database storage - the currently supported database storages are MongoDB or MySQL/MariaDB.

```bash
# Example usage:
php ./maillog-importer.php /var/log/mail.log
```

Please have a quick look at the files in the "configs" directory before using this tool.