[Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection

Timo Sirainen tss at iki.fi
Wed Mar 21 13:48:24 EET 2012


On 19.3.2012, at 21.16, Alex Ha wrote:

>>>> dovecot: auth: Error: BUG: Authentication client gave a PID 7542 of
>>>> existing connection
>>> 
>>> Oh, right, PIDs of course aren't unique when you're using multiple servers. Try if the attached patch fixes your troubles. If it does, I'll commit it to hg.
>>> 
>> 
>> Thanks Timo! I will try the patch and report to you.
>> 
> 
> Hi Timo!
> 
> I tried the patch with 2.0.19 and the dovecot error messages disappeared.

OK, it's going to be included in v2.1.3 and v2.0.20 (if that ever gets released).

> I still get a lot of this postfix warnings:
> 
> SASL LOGIN authentication failed: Connection lost to authentication server
> 
> but only for ips which tried a sasl brute force attack.
> 
> "Connection lost to authentication server" could this be because of
> the dovecot auth penalties?
> so far i did not get any complaints from users.

The auth penalties wait for max. 17 seconds I think. Looks like Postfix has a timeout of 10 seconds. You could disable auth penalties, or perhaps Postfix should use 20 second limit.


More information about the dovecot mailing list