SMTP AUTH + localhost + cipher

Post Reply
pwd
Junior Member
Posts: 2
Joined: 16 Feb 2025, 13:08

SMTP AUTH + localhost + cipher

Post 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.
pwd
Junior Member
Posts: 2
Joined: 16 Feb 2025, 13:08

Re: SMTP AUTH + localhost + cipher

Post 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!
Post Reply