On 18/11/20 23:25, Wietse Venema wrote:
As observed by Viktor, Postfix will look up A or AAAA records for
schools.gov.sg if MX lookups are disabled.
Perhaps this:
- Postfix configuration: disable_dns_lookups=yes,
The following were already mentioned.
- Postfix configuration: schools.gov.sg inside [],
- DNS infrastructure that returns NODATA for MX lookups.
Thank you to all who have replied and helped. I really do appreciate it.
Here is what was done.
1. Checked through main.cf and master.cf.
2. Could not find any setting that disables MX lookups.
3. Did the dig in the server for MX records for schools.gov.sg and it
returned the MX records without error.
4. Changed the inet_protocols from "all" to "ipv4".
5. sent an email to postmas...@schools.gov.sg and it worked!!!
6. Next for testing, added smtp_address_preference = any and set
inet_protocols back to "all".
7. sent an email to postmas...@schools.gov.sg and it worked!!!
8. Testing again. Commented out smtp_address_preference = any and back
to the original config when all this problem started.
9. sent an email to postmas...@schools.gov.sg and it worked!!!
10. I am happy that it works but not sure why it did not work in the
first place and why it works now.
Once again thank you all for replying and helping. The help has been
really valuable.
P.V.Anthony