Anyone know of a ready made solution that would do the following? 1. check mailq periodically. like every five minutes. 2. if mailq goes above, say about 200. 3. using the firewall, close port 25. 4. then send a telegram chat to the sysadmin. I choose telegram because I think it allows to receive from an api. Not like whatsapp.