[Dovecot] Worker-server timeout

Jeffrey Nikoletich jeffrey at nikoletich.com
Thu Nov 5 23:17:14 EET 2009


On Nov 5, 2009, at 11:47 AM, Timo Sirainen wrote:

> 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.
I thought the same, but it times out the second the user hits send.
>
>> 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.
Yes, I have postfix doing that.
>
>> 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.
Ok, Thanks for the note.


More information about the dovecot mailing list