On Tue, 2010-11-23 at 07:30 -0800, dmiller@amfes.com wrote:
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.
Right.
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?
If you use the same filename, Dovecot uses the same LDAP connection for userdb and passdb lookups. Whether that's good or bad depends on the situation. In your case it simply creates an extra LDAP connection for userdb lookups, which is never used.