Restrict sender and from to one domain on outbound smtp

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Restrict sender and from to one domain on outbound smtp

D G Teed-2
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?

--Donald