I would like to implement a small bit of integration of my web app with the postfix error log.
The end goal is to disable affected (e.g. 550-ed) emails at the app level…, or to possibly notify the user, within the app, that some sort of problem occurred. Anyhoo…
I can access “…/logs/postfix…” via the API just fine. The regex groveling of the data, is OK…, I guess it’ll work…, seems clumsy, so…
Was wondering if there are better/other options for doing something similar…, the end result being the web app being made aware of certain email sending errors.
Thx!