On Thu, May 20, 2021 at 09:18:56PM +0300, [email protected] wrote:
> 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`?
That'd master.cf, and a custom service name. Right now you typicall
have:
smtp unix ... smtp
relay unix ... smtp
-o ...
you would add:
smtp-nondns unix ... smtp
-o smtp_host_lookup=native
-o disable_dns_lookups=yes
Then of course in transport(5):
example.com smtp-nondns:[somehost]
--
Viktor.