0

I have configured exim to work with dovecot (might be useful to point out) in both IMAP and SMTP auth. I need to make exim require STARTTLS + CRAM-MD5 when a client authenticates to send an email through it, but not for receiving.

I have tried many configuration options, including client_condition = (empty) in both LOGIN and PLAIN authenticators. With no luck.

How can I do this?

2 Answers2

0

You need to set

auth_advertise_hosts = ${if eq {$tls_cipher}{}{}{*}}
topdog
  • 3,520
  • 17
  • 13
0

Add the "server_advertise_condition" option to your exim authenticator. For instance:

server_advertise_condition = ${if eq{$received_port}{587}{${if eq{$tls_in_cipher}{}{no}{yes}}}{no}}

This option offers authentication only if received port is 587 and connection is encrypted.

Traz Ka
  • 101