[Dovecot] Problem with lmtp proxy

Miguel Tormo mlists at edicom.eu
Thu Nov 24 19:26:07 EET 2011


El Jueves, 24 de Noviembre de 2011 17:58:40 Timo Sirainen escribió:
> On Thu, 2011-11-24 at 17:11 +0100, Miguel Tormo wrote:
> > I think I'm missing something but I can't find what it is. To summarize: with lmtp_proxy = no it does work, with lmtp_proxy = yes it doesn't. Thank you for your help!
> 
> The problem is:
> 
> > ************** cat dovecot-ldap.conf.ext **************
> > auth_bind = yes
> 
> auth_bind=yes requires a user authentication, but LMTP of course can't
> authenticate a user. So it fails:
> 
> > dovecot [2011-11-24 15:53:50] [debug] auth: Debug: password(myuser): passdb doesn't support credential lookups
> 
> Either try to get auth_bind=no working, or I think you can also set up a
> separate passdb for lmtp:
> 
> protocol lmtp {
>   passdb {
>     driver = ldap
>     args = some-other-ldap.conf
>   }
> }
> 
> And in this other ldap.conf have auth_bind=no, and possibly return
> password field always as something like "foo".
> 

I just configured your suggestion (set a separate passdb for lmtp with ldap and auth_bind = no ) and it works perfectly. Thank you very much!





More information about the dovecot mailing list