Timo, That was what I've done. It works...
pass_attrs = uid=user,userPassword=password,qmailUID=proxy,mailHostAddress=host Thanks, On Fri, 2007-08-24 at 20:13 +0300, Timo Sirainen wrote: > On Fri, 2007-08-17 at 11:18 -0300, Raphael Bittencourt S. Costa wrote: > > Aug 17 09:22:29 bastion01 dovecot: auth(default): > > ldap([EMAIL PROTECTED],10.0.1.1): result: qmailUID(proxy)=1033 > > mailHost(host)=mailserver-01.xxxx.com.br > > uid(user)[EMAIL PROTECTED] > > It doesn't show "proxy" field in here. > > > Aug 17 09:22:29 bastion01 dovecot: auth(default): > > ldap([EMAIL PROTECTED],10.0.1.1): bind: > > dn=cn=raphael.costa,ou=xxxx.com.br,ou=accounts,o=comMail > > > > Aug 17 09:22:29 bastion01 dovecot: auth(default): client out: OK > > 1 [EMAIL PROTECTED] proxy > > host=mailserver-01.xxxx.com.br pass=xxxx > > But "proxy" is here anyway. How? What configuration do you have now in > pass_attrs? > > Also "host" needs to be an IP address, because no DNS lookup is done. > > > Aug 17 09:22:29 bastion01 dovecot: auth(default): master in: REQUEST > > 1 18709 1 > > So I don't really understand why it gets this far. It shouldn't do this > if "proxy" field is set. >