On Tue, 23 Nov 2010 13:51:34 +0000, Timo Sirainen <t...@iki.fi> wrote:
On Mon, 2010-11-22 at 21:32 -0800, Daniel L. Miller wrote:
I think I got it - probably by accident.  Just because it's actually
working doesn't mean it's *correct* - does this look right? Do I have
redundant/obsolete parms specified?

passdb {
   driver = ldap
   args = /usr/local/etc/dovecot/dovecot-ldap.conf
}
userdb {
   driver = prefetch
}
userdb {
   driver = ldap
   # symlink to dovecot-ldap.conf
   args = /usr/local/etc/dovecot/dovecot-ldap-userdb.conf
}

The symlink isn't very useful. It'll just cause extra LDAP connections to be created, since that userdb is used only for iteration anyway and
iterations are always executed in their own separate processes with
separate LDAP connection.

Ok - I've returned to my normal state of confusion. Prefetch documentation says I need an explicit userdb for LDA/LMTP use. And somewhere I read I wasn't supposed to use the exact same filename for both userdb & passdb - but a symlink was good. What should I use instead?

Reply via email to