Hi all, I'm not sure if this list is completely appropriate for this question, so let me know if it's not.
I have a couple of Postfix servers that are the MX servers for a couple of domains that handle a total of around 160-180k messages each week. They servers are just relays (no local accounts), users send messages to a variety of addresses, e.g. supp...@ourdomain.com<mailto:supp...@ourdomain.com> and aliases forward them to the appropriate internal or external recipients, e.g. supp...@ourdomain.zendesk.com<mailto:supp...@ourdomain.zendesk.com>. A large portion go through AWS SES via a sender-dependent relay map entry and then on to their intended recipients at whatever receiving ESP. Occasionally due to forgeries and other issues, receipient SMTP servers can temporarily defer messages from these servers or even block them until contacted for removal from the list. I do use pflogsumm to summarize the logs daily on both servers and I keep those for a month, but it would be nice to be immediately alerted if postfix logs messages about such deferrals or blocks. Does Postfix have any native capabilities good for detecting these issues and acting on them, or would I just need to do some kind of checks on the pflogsumm output each day? Obviously the sooner I can catch these messages and act on them, the better, so the more realtime I can do this, the better. Thanks, Justin