First statement: I'm new to Postfix Second statement: I'm old enough that a 30mb harddrive was big then I started working with computers ......
The Challenge I want to be able to run my own "idp" type script when someone tries to connect to my mailserver. Basically I want to refuse them even a tcp connection to smtpd if the connecting ip is in our internal blacklist. I'm doing it today with an old HMailserver and it's very effective so I would like to port that functionality Before someone says fail2ban so no, fail2ban is way to late since it requires log entries from smtpd. I want to kill them before they even get a chance to try and log on