On 11/04/2023 23:50, Peter via Exim-users wrote:
> From: Graeme Fowler via Exim-users <exim-users@???>
> Date: Tue, 11 Apr 2023 18:44:22 +0100
>> From
>> https://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypted_smtp_connections_using_tlsssl.html (sec 10):
>>
>> "... setting hosts_avoid_tls (an option of the transport) to a list
>> of server hosts for which TLS should not be used."
>
> I wonder how that is done.
>
> $ find /etc/exim4/ -type f -exec grep "hosts_avoid_tls" '{}' \; -print
> hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
> /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost
> hosts_avoid_tls = REMOTE_SMTP_HOSTS_AVOID_TLS
> /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp
> hosts_avoid_tls = REMOTE_SMTP_HOSTS_AVOID_TLS
> hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
>
> Obvious questions before recklessly diving into changes.
>
> (1) Macros are mentioned frequently in Exim documents. In general,
> the meaning of "macro" depends upon the context.
> https://en.wikipedia.org/wiki/Macro#Computing
> What is a macro in Exim?
Described in the Exim documentation:
https://exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_runtime_configuration_file.html#SECTmacrodefs
> (2) Lines above containing "=" signs are assignments?
Those specific ones are option settings.
> (3) An entity to left of = is a variable? Similar to a shell variable?
No. Read the docs.
> (4) What is an entity in all caps, right of =?
Almost certainly a macro.
> Of course, looked for answers in various docs before posting this.
> /usr/share/doc/exim4-base/README
> /usr/share/doc/exim4-base/README.Debian
> /usr/share/doc/exim4-config/README.Debian
> https://wiki.debian.org/PkgExim4UserFAQ
> https://en.wikipedia.org/wiki/Macro#Computing
> Nothing particularly helpful. =8~/
The first hit from either duckduckgo or google gets you to the right place.
So did Graeme's mail you included.
--
Cheers,
Jeremy