On 23/03/2023 15:30, Olaf Hopp (SCC) via Exim-users wrote:
router_A:
     domains: +domainlist-with-TLS-Domains
     transport: tlssmtp
router_B:
     domains: *
     transport: smtp

tlssmtp:
     hosts_require_tls = *
     driver = smtp
smtp:
     driver smtp


in reality two routers and transports are much more complicated but almost
identical. The same is true for the transports.

Is it somehow possible to consolidate this into one router and one transport

allsmtp:
 driver = smtp
 hosts_require_tls = ${if match_domain{$domain}{+domainlist-with-TLS-Domains} 
{*}{}}
 multi_domain = false

--
Cheers,
  Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to