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)
- Host: GitHub
- URL: https://github.com/zewish/php-postfix-maillog-importer
- Owner: zewish
- License: ncsa
- Created: 2013-09-27T12:58:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-19T10:27:34.000Z (over 12 years ago)
- Last Synced: 2024-04-14T00:51:38.520Z (about 2 years ago)
- Language: PHP
- Homepage:
- Size: 156 KB
- Stars: 14
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.