Tony Holmes wrote:
[snip]I am looking to allow/check policy/reject. This is where I am tripping up - essentially want the same power as the smtpd restrictions, but for the command line. Ideally without having to deploy another box :)
configure your wrapper to use smtp to a specific port where you can use smtpd restrictions. you can use mini_sendmail or other.