Can you share your doveconf -n?

Aki

On 21.5.2019 10.44, Federico Bartolucci via dovecot wrote:
Hi,

yes sure, we already use proxy with mysql auythentication. On the same server we have the proxy working with mysql and it regularly uses the backends servers, but when we configure the proxy to use LDAP instead it always uses the default localhost and not the backend IPs.

Regards
-federico


Il 21/05/2019 07:25, Aki Tuomi ha scritto:


On 20.5.2019 20.06, Federico Bartolucci via dovecot wrote:
Hello,

configuring Dovecot with LDAP authentication, adding the parameter in ther sql config file:

pass_attrs = \
        =proxy=y

I see then backend connections always addressed to localhot port 143:

user=utente1@domanin.com proxy   lip=127.0.0.1   lport=143   

while I expect that connections would be managed by the director and then addressed to my backend IPs and specific port.
Is there a way to configure ldap proxy to get that behavior?

Thanks in advance.

-federico

Hi!

Have you read https://wiki2.dovecot.org/Director ?

Aki