Is it possible to execute a system command upon the following smtpd client
restriction rejections?
smtpd_client_restrictions =
reject_rbl_client zen.spamhaus.org,
reject_unknown_reverse_client_hostname,
reject_unknown_client_hostname
Would like to automate insertion of client IP address into IP Tables
firewall rule.
System Command:
/sbin/iptables " --table filter --insert <CHAIN> -s <IP Address> -j DROP"
Where <CHAIN> is something like SMTP_RBL, SMTP_PTR, or SMTP_Hostname,
and <IP Address> is that of the connecting client.