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 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190520/04b916a9/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20190520/04b916a9/attachment.sig>
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 at 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. > > -federicoHi! Have you read https://wiki2.dovecot.org/Director ? Aki -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190521/3af10f1f/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20190521/3af10f1f/attachment.sig>
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 at 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190521/b4d0a711/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 484 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20190521/b4d0a711/attachment.sig>