Stephen Usher
2007-Feb-27 13:50 UTC
[Dovecot] dovecot-auth (1.0rc24) on Solaris seems broken.
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:-steve at earth.ox.ac.uk Department of Earth Sciences, Tel:- +44 (0)1865 282110 University of Oxford, Parks Road, Oxford, UK. Fax:- +44 (0)1865 272072
Antonis Faragitakis
2007-Feb-27 22:21 UTC
[Dovecot] dovecot-auth (1.0rc24) on Solaris seems broken.
use windows vista On 27/02/07, Stephen Usher <Stephen.Usher at earth.ox.ac.uk> wrote:> > 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:-steve at earth.ox.ac.uk > Department of Earth Sciences, Tel:- +44 (0)1865 > 282110 > University of Oxford, Parks Road, Oxford, UK. Fax:- +44 (0)1865 > 272072 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20070228/150fce08/attachment-0002.html>
Possibly Parallel Threads
- Wiki needs updating: Dovecot LDA + Dovecot Sieve + Exim
- Dovecot 2.1.16: Quota plugin compile fails: Solaris 10
- Panic: pop3-login: file sasl-server.c: line 75 (authenticate_callback): assertion failed: (client->auth_request == request)
- PATCH: Deliver looses mail and DSN if Return-Path is missing
- [PATCH, RFC] add APOP authentication mechanism