> > smtpd_sender_restrictions = > > check_sender_access hash:/usr/local/etc/postfix/cwahi_net-allowed > > check_policy_service inet:216.18.117.19:10031 > > reject > > > > /usr/local/etc/postfix/cwahi_net-allowed: > > root PERMIT > > As documented in the access(5) manual page, this permits mail from > the NETWORK that claims to have a sender of root in your domain > (regardless of whether or not it was sent by your super-user).
This I know - firewalling prevents incoming smtp connections from outside and even itself. > To restrict mail via the sendmail command line, use the > authorized_submit_users configuration parameter. It takes a list > of UNIX system account names. 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 :) -- Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc.