Page 1 of 1

SMTP AUTH + localhost + cipher

Posted: 16 Feb 2025, 13:24
by pwd
Hello,

Could someone tell me how to make all together the:
"CSF smtp auth" +
"localhosts" +
"tls cipher"
- part of the rules in the
auth_advertise_hosts= section
of exim.conf?

auth_advertise_hosts =
localhost : ${if eq{$tls_in_cipher}{}{}{*}}
${if match_ip{$sender_host_address}{iplsearch;/etc/exim.smtpauth}{*}{}}

So these two lines should work together in the auth_advertise_hosts rule of exim.conf

Thanks in advance.

Re: SMTP AUTH + localhost + cipher

Posted: 17 Feb 2025, 11:58
by pwd
Can someone tell me how to specify two or more values ​​in the auth_advertise_hosts value in the exim4.conf settings?

What I want is for the
localhost + tls cipher + csf smtpauth
values to be present together in auth_advertise_hosts.
So all three conditions should be valid at the same time.

In short, these two values/rows should be put together somehow so that they can be validated together and not throw an error:

auth_advertise_hosts =
value1:
localhost : ${if eq{$tls_in_cipher}{}{}{*}}
value2:
${if match_ip{$sender_host_address}{iplsearch;/etc/exim.smtpauth}{*}{}}

Thanks in advance!