[Dovecot] Dovecot IMAP/POP3 Proxy with LDAP

Raphael Costa raphaelbscosta at gmail.com
Fri Aug 24 22:02:17 EEST 2007


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(raphael.costa at xxxx.com.br,10.0.1.1): result: qmailUID(proxy)=1033
> > mailHost(host)=mailserver-01.xxxx.com.br
> > uid(user)=raphael.costa at xxxx.com.br
> 
> It doesn't show "proxy" field in here.
> 
> > Aug 17 09:22:29 bastion01 dovecot: auth(default):
> > ldap(raphael.costa at xxxx.com.br,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       user=raphael.costa at xxxx.com.br       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.
> 


More information about the dovecot mailing list