SMTP mail

Good morning

How do I set my postfix to root smpt mail so that it will route some mail locally and other mail through SMTP?

Example. I have user x@mycompany.com that is an internal address, and user y@mycompany.com that is an external address. I want postfix to route user x@mycompany.com locally but will send all mails for user y@mycompany.com through SMTP. Is this possible and how can I do this.

Thank you.
 
Back
Top