MailLog2MySQL is a Python script for parsing and storing email server log (from Dovecot and Postfix) data into a MySQL database. This can be useful for monitoring email traffic, analyzing email server performance, and generating reports. Inspired by mysqmail-dovecot-logger and mysqmail-postfix-logger with some improvements and an API interface.
Does this actually require python3.9 ?
would
be better? Or /usr/bin/env python3 (if that works?)
https://github.com/bnchdan/MailLog2MySQL/blob/main/MailLog2MySQL