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:
http://www.postfix.org/DEBUG_README.html
If you need more help, please see:
http://www.postfix.org/DEBUG_README.html#mail
-- Noel Jones