Re: Address rewriting guidance

2021-02-12 Thread Matt Shields
On Fri, Feb 12, 2021 at 12:54 PM Viktor Dukhovni wrote: > On Fri, Feb 12, 2021 at 12:06:02PM -0500, Matt Shields wrote: > > I'll take a look at all the suggestions. For below, this is just an internal server(behind firewall) with no internet facing ports. We use Office365 for corporate mail, an

Re: Address rewriting guidance

2021-02-12 Thread Viktor Dukhovni
On Fri, Feb 12, 2021 at 12:06:02PM -0500, Matt Shields wrote: > 1. Rewrite the FROM address in each message > a. host1.lan has a process that sets the FROM as t...@mycompany.com, this > is okay to let relay > b. host2.lan has a script that sends as r...@host2.lan, rewrite FROM as > s

Address rewriting guidance

2021-02-12 Thread Matt Shields
Other than setting up a very basic Postfix server for sending out email, I'm new to the advanced rewriting capabilities. I need to setup a server that let's me do the following. I've already setup SMTP relaying through AWS SES and I've setup host based access list to make sure only certain intern