Thanks Viktor. So to add this "custom smtp transport" do I need to add a section in main.cf just like "smtp unix", but with a custom "service type" column and the additional option `-o smtp_host_lookup=native`?
On 20.05.2021 21:01, Viktor Dukhovni wrote: > On Thu, May 20, 2021 at 12:52:38PM -0500, Noel Jones wrote: > >> As the docs say, the brackets disable MX lookups, not DNS lookups. >> >> Sounds like you should read >> http://www.postfix.org/postconf.5.html#smtp_host_lookup >> and probably use "dns, native" > > Thanks Noel, that's the right answer. I just want add the below > caution: > > Care is appropriate when native lookups are desired for just > a particular destination, with most (or at least some) mail > delivered to the public Internet. > > In such cases, the use of "dns, native" or just "native" should be > specified in master.cf for a custom smtp transport that is dedicated > for non-DNS deliveries, with the default of "dns" alone continuting > to be used for mail going out the Internet at large. >