Loading...

dovecot@dovecot.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Dovecot] dovecot-auth (1.0rc24) on Solaris seems broken. Stephen Usher Tue Feb 27 12:16:31 2007

I've trying to get dovecot-auth to talk to exim and have been running 
debugging on both sides.

I've added the line:

        i_info("auth_client_input: client disconnected: %s", strerror(errno));

just after the "case -1" in the first switch statement in:

        auth-client-connection.c: auth_client_input()

and get this in the logs:

dovecot: Feb 27 13:35:09 Info: auth(default): auth_client_input: client 
disconnected: Illegal seek

Now, on the exim end if I don't have the i_info() call in the routine the call 
to fgets() which exim is using never returns. If I put the i_info() call in 
there it does and gives an error, e.g.

2007-02-27 13:35:09 dovecot_plain authenticator failed for 
vanguard.earth.ox.ac.uk [163.1.22.82]: 435 Unable to authenticate at present: 
authentication socket protocol error

Now, the istreams code in dovecot seems rather too obscure for me to debug any 
further.

According to the read(2) man page under Solaris 10, the only version of read 
which can possibly return ESPIPE is pread().

Any ideas what's going on?

Steve
-- 
---------------------------------------------------------------------------
Computer Systems Administrator,                E-Mail:[EMAIL PROTECTED]
Department of Earth Sciences,                     Tel:-  +44 (0)1865 282110
University of Oxford, Parks Road, Oxford, UK.     Fax:-  +44 (0)1865 272072