[Dovecot] Worker-server timeout

Timo Sirainen tss at iki.fi
Thu Nov 5 21:47:25 EET 2009


On Thu, 2009-11-05 at 09:20 -0800, Jeffrey Nikoletich wrote:
> Nov 04 17:31:22 auth(default): Error: worker-server(xxx at 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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091105/a40f63a4/attachment.bin 


More information about the dovecot mailing list