Dovecot proxy not working with newest exim config

nomad63

New member
Joined
Nov 15, 2025
Messages
3
Hey,

Just tried to configure a Dovecot proxy using this article:

Version Dovecot 2.4 on RHEL

The IMAPS part seems to be working, but the submission part won't work. Exim doesn't send the AUTH for some reason on the latest config.
Nov 15 22:12:02 mailproxy dovecot[5695]: submission-login: Error: proxy([email protected],11.11.11.11:587): Aborting due to remote server: Authentication support not advertised (TLS required?): user=<[email protected]>, method=LOGIN, rip=xx.xx.xx.xx, lip=xx.xx.xx.xx., TLS, session=<3GNaZ6lDKqePs7H7>

Adding the following seems to allow sending, but causes errors with the saving of the mail:

<span>sed</span> <span>-i</span> <span>'/^AUTH_ENABLE_CONDITION /d'</span> /etc/exim.variables.conf.custom<br><span>echo</span> <span>'AUTH_ENABLE_CONDITION = yes'</span> <span>&gt;&gt;</span> /etc/exim.variables.conf.custom<br>da build exim_conf


Anyone have any idea to fix this? I don't want to enable plain auth, but none of trhe options seem to be working and the post looks outdated
 
I edited the following file:

/etc/exim.variables.conf.custom

with:

AUTH_ENABLE_CONDITION = ${if or {{match_ip{$sender_host_address}{proxy_ip_address}} {and {{!eq{$interface_port}{25}} {or {{def:tls_in_cipher} {match_ip{$sender_host_address}{<;127.0.0.1;::1}}}}}}}}t

But why is this required, what am I missing in this? The proxy seems to be passing the AUTH, but exim doesnt allow AUTH with the settings like they are defined.
 
Back
Top