Restrict sender and from to one domain on outbound smtp
I'm having a little trouble finding the option I need in postfix.
I have a little smtp service for outbound which will only serve
a web mail service. I want to enforce that the from, reply-to
and sender in the envelope are all from @mydomain.com
and reject if from some other domain.
What is the best path for this? header_checks perhaps?