Re: Rewriting old domain to new domain
- On 4/27/2011 10:57 AM, Casartello, Thomas wrote:
> Hello,Use smtp_generic_maps to rewrite old domain -> new domain
> We are going to begin the process of changing from one domain
> name to another in our organization. Postfix functions as our
> MX server and then forwards on to our Microsoft Exchange
> environment. We need to keep both domains active for a year,
> but because of the way the spam filter works, I can’t just
> directly forward on the messages from both domains to
> Exchange. I need to rewrite our old domain to our new domain
> in postfix before it gets processed by our spam filter.
> However I notice that when you do a rewrite for an entire
> domain it bypasses the relay recipient table I have setup
> (rejects recipients that don’t exist in our Active
> Directory/Exchange system using LDAP.) Essentially I need to
> have the old domain rewritten to the new domain, but also have
> the recipient’s address validated before it is rewritten.
> Because of the way our spam filter works I have to reject
> recipients that don’t exist in our organization at the outside
> as well as rewrite the domain name. Is this possible?
during delivery to the internal mail server.
-- Noel Jones