pieterm Posted January 31, 2022 Share Posted January 31, 2022 GitHub: https://github.com/jackjoe/mailgun_logger DockerHub: https://hub.docker.com/r/jackjoe/mailgun_logger My Repository: https://github.com/pierot/unraid-ca-apps DESCRIPTION MailgunLogger is a simple admin tool that uses the Mailgun API to retrieves events on a regular basis from Mailgun - who only provide a limited time of event storage - and stores them inside a MySQL database. For efficiency and less complexity, it retrieves events for the last two days (free accounts offer up to three days of persistence) and then inserts everything. Only new events will pass the unique constraint on the db. This is done because, as stated in the Mailgun docs, it is not guaranteed that for a given time period, all actual events will be ready, since some take time to get into the system although they already happened. INSTALLATION Requires existing MySQL database to be available. Fill in the database credentials and you are good to go. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.