31 Mar
2007
31 Mar
'07
11:57 a.m.
On 30/03/2007 22:27, Tom Bombadil wrote:
Hi all...
The prefetch entry in the wiki says:
"If you're using Dovecot's local delivery agent, you'll still need a valid userdb which it can use to locate the users. You can do this by adding a normal sql/ldap userdb after userdb prefetch."
(http://wiki.dovecot.org/UserDatabase/Prefetch)
My question is:
Does it need to be a SQL/LDAP userdb? How about static or passwd?
I should think so, since prefetch is an optimisation for SQL/LDAP passdb+userdb, to save the result of the passdb lookup to reuse for the userdb bit. If you have a static userdb you don't need to save the SQL/LDAP passdb results, so you don't need prefetch.
Cheers,
John.