On Wednesday 30 May 2007 10:36:15 Mark Constable wrote:
I'm trying to get courier-authlib-pipe 0.58-4 on Debian4 to work
and have got this far... any suggestions ?
May 29 03:18:24 us imapd-ssl: authentication error: Input/output error
May 29 03:18:24 us authdaemond: cat: write error: Broken pipe
May 29 03:25:58 us authdaemond: /etc/courier/authProg: line 23: echo: write
error: Broken pipe
I tried this authtest below using strace on authdaemond but
all I could pick up is the broken pipe error with no further
information why the pipe is broken. Can anyone suggest anything
else I could try to determine why the STDOUT pipe is breaking ?
# strace -f /usr/lib/courier/courier-authlib/authdaemond 2>&1
# authtest -s imap adm...@xxxx.com xxxxxx
Authentication FAILED: Input/output error
...
[pid 32375] fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 32375] fstat64(0, {st_mode=S_IFREG|0600, st_size=95, ...}) = 0
[pid 32375] read(0, "ADDRESS=adm...@xxxx.com\nPASSWD2=x"..., 4096) = 95
[pid 32375] write(1, "ADDRESS=adm...@xxxx.com\nPASSWD2=x"..., 95) = -1 EPIPE
(Broken pipe)
[pid 32375] --- SIGPIPE (Broken pipe) @ 0 (0) ---
...
--markc