[exim-dev] [Bug 1512] dovecot authenticator waits for server…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mildred Ki'Lya
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1512] dovecot authenticator waits for server's DONE before sending DATA
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1512




--- Comment #5 from Mildred Ki'Lya <mildred-bug.exim@???> 2014-07-31 08:47:09 ---
The problem was indeed a configuration error.

The issue is that /var/run/dovecot/auth-userdb and /var/run/dovecot/auth-client
don't respond to the same protocol (I haven't found yet why). However, the
protocol is significantly compatible so that it doesnt raise an error but
blocks indefinitely.

Changing th configuration to use auth-client instead of auth-userdb solved the
problem. Sorry for the inconvenience.

If you want to do something about it, perhaps you could document that exim must
absolutely use auth-client and not auth-userdb.

If you want the source code to be robust to that, you could either change the
handshake code so that it works with both. Hopefully an error will happen
afterwards. O you could have a short timeout with an error message telling the
dovecot protocol is not as expected.

I don't know why auth-userdb and auth-client don't respond to the same protocol
desping being configured in the same section of the dovecot configuration. If
it is because the socket name is hardcoded, you could print a warning in the
logs if you detect the configuration points to the auth-userdb socket.

My message on the dovecot list:
http://dovecot.org/pipermail/dovecot/2014-July/097279.html

Again, sorry for this bug that is actually a configuration error.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email