Possibly a simple question but I'm trying to lockdown which users can send email from the local machine. I've locked down which ones can receive by running newaliases on an /etc/postfix/allowed_recipients file and setting something similar to
smtpd_recipient_restrictions = hash:/etc/postfix/allowed_recipients, reject
It works, but how can I do the same for sender restrictions?
Take a look at the postfix documentation. http://www.postfix.org/RESTRICTION_CLASS_README.html
Inside localusers, list each OK address
or you can add a domain and then list only blocks