Thanks Noel I can work with the linux team to have it tested and upgraded since I do not control the OS portion of the servers. I did postmap the transport file to no avail.
Here is the results of postfix -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_min_user = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 html_directory = no inet_interfaces = all inet_protocols = ipv4 local_recipient_maps = mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 20480000 mydestination = mydomain = domain.com myhostname = postfix.domain.com mynetworks = 0.0.0.0/0 newaliases_path = /usr/bin/newaliases.postfix proxy_interfaces = queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES relay_domains = $myhostname, hash:/etc/postfix/relay_domains relayhost = [xxx.outlook.com]:25 sample_directory = /usr/share/doc/postfix-2.6.6/samples sender_canonical_maps = regexp:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_client_restrictions = check_sender_access hash:/etc/postfix/sender_access check_client_access cidr:/etc/postfix/client_access.cidr reject transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 Anywhere else to look? -----Original Message----- From: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> On Behalf Of Noel Jones Sent: Thursday, August 5, 2021 1:34 PM To: postfix-users@postfix.org Subject: Re: new install ignores transport file? CAUTION: This email was sent from an external sender. Do not click links or open attachments unless you recognize the sender and know the content is safe. On 8/5/2021 12:07 PM, Gomes, Rich wrote: > Good day > > I have a newly built postfix server which is ignoring it's transport file and > is querying DNS for MX records instead. > I have googled the issue but only come up with "how to use transport file" > articles. > The /etc/postfix directory was copied from our Production relay and is > working as expected. > I have verified the transport file is populated with the correct destination > relays, which are different from the internal MX record. > I have updated the transport. db file using postmap and there is no change. > I have verified the correct line to reference a transport file is in main.cf > and I have restarted the postfix service several times. > > Since everything appears to be correct, I am thinking this may be a > versioning difference? > > Here are the OS and postfix versions on the servers: > > > Existing Production Server: > Red Hat Enterprise Linux Server release 6.10 (Santiago) mail_version = > 2.6.6 > > > > New Server: > Red Hat Enterprise Linux Server release 7.9 (Maipo) mail_version = > 2.10.1 > > > > Could this be a versioning issue or do I need to look somewhere else? > > > > Thanks, > Rich > This is almost certainly a config issue on your part. First, version 2.10.1 is very very old. Support for that version ended in 2016. The current stable release is 3.6.2. I would strongly suggest upgrading to a supported version. At this time, the oldest supported version is 3.3.19, but if you're upgrading go with the current version. That said, there shouldn't be any show-stoppers in your postfix 2.10, but your support here may be limited. If you moved your hash files, it's possible the new system has a newer/incompatible version. Make sure to "postmap" all your db files. Things may be installed in different directories on the new system. Verify directory paths referenced in postfix main.cf are correct. Use "postconf -n" to verify the settings are what you expect, and check the log files for warning and errors. General debugging info here: https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.postfix.org%2FDEBUG_README.html&data=04%7C01%7CGomes-Rich%40aramark.com%7C511efd1a0cc54c140f8e08d958373224%7Cb1519f0f2dbf4e21bf34a686ce97588a%7C0%7C0%7C637637816351528057%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dYT8dejZ090zplbOeQXz1IH%2BbRvdvV%2B83JunmA2sRkE%3D&reserved=0 If you need more help, please see: https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.postfix.org%2FDEBUG_README.html%23mail&data=04%7C01%7CGomes-Rich%40aramark.com%7C511efd1a0cc54c140f8e08d958373224%7Cb1519f0f2dbf4e21bf34a686ce97588a%7C0%7C0%7C637637816351528057%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=X74i%2FOL8xljzgyVV5EVlgydriN7R3zhZVyzZ%2B2V2MZM%3D&reserved=0 -- Noel Jones