Dovecot proxy with ldap, complains about 'host not given'

Marc Roos M.Roos at f1-outsourcing.eu
Sun Nov 24 11:45:56 EET 2019


 
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




More information about the dovecot mailing list