On Thu, 2009-11-05 at 09:20 -0800, Jeffrey Nikoletich wrote:
Nov 04 17:31:22 auth(default): Error: worker-server(xxx@xxxx.com):
Aborted: Lookup timed out
This means it took over a minute to execute the SQL query.
The thing is, the errors only show when the user is attempting to send
a message.
Is your SMTP server also authenticating through Dovecot? That's the only reason I can think of.
I have disabled user prefetch because for some reason, I get this
error when it is active:Nov 04 17:05:25 auth(default): Info: prefetch (xxx@xxxx.net,xxx.xxx.xxx.xxx): passdb didn't return userdb entries,
trying the next userdb
Right, because you didn't any userdb_* fields in password_query. If you want to use prefetch, you should make your password_query return all the same fields as user_query, except with userdb_ prefix. That's anyway not related to why the lookup would be taking that long.