My query? Is dovecot not getting this field automatically? -----Original Message----- Subject: Re: Dovecot proxy with ldap, complains about 'host not given' On 23 Nov 2019, at 16:11, Marc Roos <M.Roos at f1-outsourcing.eu> wrote:> It looks like the dovecot proxy can authenticate correctly but fails > then on with this message > > Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host notgiven:> user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, > session=<LDTlHguYJth/AAAB> > > I have configured a host= in ldap for this userBut is your query properly getting the host? (I don?t use ldap., but this is a common issue with sql lookups, so I assume that is a likely problem). -- ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'? 'But I don't usually see you!?
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> You need to specify fields you want. Fields are not imported automatically. </div> <div> <br> </div> <div> See <a href="https://doc.dovecot.org/configuration_manual/authentication/ldap/">https://doc.dovecot.org/configuration_manual/authentication/ldap/</a> </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 24/11/2019 11:34 Marc Roos via dovecot < <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> My query? Is dovecot not getting this field automatically? </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> -----Original Message----- </div> <div> Subject: Re: Dovecot proxy with ldap, complains about 'host not given' </div> <div> <br> </div> <div> On 23 Nov 2019, at 16:11, Marc Roos < <a href="mailto:M.Roos@f1-outsourcing.eu">M.Roos@f1-outsourcing.eu</a>> wrote: </div> <blockquote type="cite"> <div> It looks like the dovecot proxy can authenticate correctly but fails </div> <div> then on with this message </div> <div> <br> </div> <div> Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not </div> </blockquote> <div> given: </div> <blockquote type="cite"> <div> user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, </div> <div> session=<LDTlHguYJth/AAAB> </div> <div> <br> </div> <div> I have configured a host= in ldap for this user </div> </blockquote> <div> But is your query properly getting the host? (I don’t use ldap., but </div> <div> this is a common issue with sql lookups, so I assume that is a likely </div> <div> problem). </div> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'? 'But </div> <div> I don't usually see you!’ </div> </blockquote> <div> <br> </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>
Thanks!! Added this. pass_attrs = uid=user,userPassword=password,host=host -----Original Message----- Subject: RE: Dovecot proxy with ldap, complains about 'host not given' You need to specify fields you want. Fields are not imported automatically. See https://doc.dovecot.org/configuration_manual/authentication/ldap/ Aki On 24/11/2019 11:34 Marc Roos via dovecot < dovecot at dovecot.org> wrote: My query? Is dovecot not getting this field automatically? -----Original Message----- Subject: Re: Dovecot proxy with ldap, complains about 'host not given' On 23 Nov 2019, at 16:11, Marc Roos < M.Roos at f1-outsourcing.eu> wrote: It looks like the dovecot proxy can authenticate correctly but fails then on with this message Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not given: user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<LDTlHguYJth/AAAB> I have configured a host= in ldap for this user But is your query properly getting the host? (I don?t use ldap., but this is a common issue with sql lookups, so I assume that is a likely problem). -- ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'? 'But I don't usually see you!? --- Aki Tuomi
Maybe Matching Threads
- Dovecot proxy with ldap, complains about 'host not given'
- Dovecot proxy with ldap, complains about 'host not given'
- Dovecot proxy with ldap, complains about 'host not given'
- Local lmtp proxy on backend server
- Preparing for replication: dsync-local(testaccount): Panic: file mbox-lock.c