Howdy! We have noticed that certain email going through our outbound relay are ignoring the "relayhost = [smtp-relay.site.com]:25". The condition seems to be when a message has an envelope rewrite based on LDAP lookup (specifically, from site.com to email.site.com, which goes to gmail). After the lookup and rewrite, postfix appears to do an MX lookup to try and send directly to google and ignores the specified relayhost. Is there something else I'm missing? I've verified that there are no transports designated for mail.site.com that would override the relayhost.
Postfix version 3.6.2 from ghettoforge repo on CentOS 7. Thanks, RobertC