[Dovecot] Problem with lmtp proxy

Timo Sirainen tss at iki.fi
Thu Nov 24 18:58:40 EET 2011


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".





More information about the dovecot mailing list