How to trigger the firewall to close port 25 when there is a critical error on postfix mail queue?
What I expected to happen
So far email and telegram notification is working great. Need to know how to trigger a bash script.
Did some searching in google but could not find much. Maybe I am using the wrong keyword searches.
Need advice. Please help if possible.