Alex Ha
2012-Mar-16 20:00 UTC
[Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection
Hi Dovecot-list! My setup consists of a dovecot server with lmtp delivery and 3 postfix mta servers in front. Previously the mtas authenticated (SASL) through the courier-authdaemond software to our mysql database. To get support for more password formats i migrated to dovecot for SASL authentification. Our postfix mtas connect to dovecot through a tcp-socket smtpd_sasl_auth_enable = yes smtpd_sasl_type = dovecot smtpd_sasl_path = inet:10.11.100.230:12345 smtpd_sasl_security_options = noanonymous smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain broken_sasl_auth_clients = yes 10.11.100.230 is our dovecot server. Please look at the attached doveconf.log to see my auth service configuration. I did the configuration according to the postfix SASL README. http://www.postfix.org/SASL_README.html#server_dovecot I tested the setup and everything worked fine but after 2 days i noticed these error messages in my mail.log: dovecot: auth: Error: BUG: Authentication client gave a PID 7542 of existing connection and also these messages from postfix: SASL LOGIN authentication failed: Connection lost to authentication server I get the dovecot error message about 3000 times a day and postfix message about 270 times. Please see my attached mail.log for a detailed trace. Thank you for your help :) Alex -------------- next part -------------- A non-text attachment was scrubbed... Name: doveconf.log Type: application/octet-stream Size: 14009 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120316/77234d42/attachment-0008.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: mail.log Type: application/octet-stream Size: 3120 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120316/77234d42/attachment-0009.obj>
Timo Sirainen
2012-Mar-16 20:14 UTC
[Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection
On 16.3.2012, at 22.00, Alex Ha wrote:> dovecot: auth: Error: BUG: Authentication client gave a PID 7542 of > existing connectionOh, 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: tcp-auth.diff Type: application/octet-stream Size: 718 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120316/ed209d0d/attachment-0004.obj>
Alex Ha
2012-Mar-16 20:39 UTC
[Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection
On Fri, Mar 16, 2012 at 9:14 PM, Timo Sirainen <tss at iki.fi> wrote:> On 16.3.2012, at 22.00, 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. Alex
Apparently Analagous Threads
- Bug#372286: logcheck-database: new rule for courier
- dovecot-auth: BUG: login gave a PID of existing connection
- CentOS 5.1 - MySQL 5.0.22 - Courier auth lib problem
- Bug? auth(default) Authentication client gave a PID of existing connection
- Re: [sqwebmail] vpopmail+mysql and sqwebmail authentication problems]