Hello! 👋🙂 I want to be able to handle the failed deliveries (like the one below) in a special way, like pass them into a script to record them into a database and display them in the UI somewhere.
What would be the most natural way to get this? 🤔 Thank you! Here is an example failed delivery from the log: 2023-03-26T07:02:23.272898+00:00 INFO postfix/smtp[20799]: F16D317B65D: to=< blah...@me.com>, relay=mx01.mail.icloud.com[17.57.156.30]:25, delay=4.3, delays=0.1/0.02/0.74/3.4, dsn=5.7.1, status=bounced (host mx01.mail.icloud.com[17.57.156.30] said: 554 5.7.1 [HM08] Message rejected due to local policy. Please visit https://support.apple.com/en-us/HT204137 (in reply to end of DATA command))
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org